-
Notifications
You must be signed in to change notification settings - Fork 47
43 lines (39 loc) · 989 Bytes
/
test.yml
File metadata and controls
43 lines (39 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: "Tests"
on:
push:
branches: ['*']
paths-ignore:
- '**.md'
- 'cli/'
- 'electron/'
- 'www/'
pull_request:
branches: [master]
paths-ignore:
- '**.md'
- 'cli/'
- 'electron/'
- 'www/'
jobs:
server-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Install Linux dependencies"
timeout-minutes: 4
run: |
sudo apt-get update && sudo apt-get install -y \
composer
sudo bash -c "echo 'zend.assertions = 1' >> /etc/php/*/cli/php.ini"
- name: "Install Composer dependencies"
timeout-minutes: 6
run: |
composer install
- name: "Run Composer check-full"
timeout-minutes: 20
run: |
grep '"timeout": 20,' infection.json5
sed -i 's/"timeout": 20,/"timeout": 40,/' infection.json5
composer check-full