File tree 1 file changed +47
-0
lines changed
1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : tests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - feature/tests
8
+ pull_request :
9
+ schedule :
10
+ - cron : ' 0 0 * * *'
11
+
12
+ jobs :
13
+ linux_tests :
14
+ runs-on : ubuntu-22.04
15
+
16
+ strategy :
17
+ fail-fast : true
18
+ matrix :
19
+ php : [8.1, 8.2]
20
+ stability : [prefer-lowest, prefer-stable]
21
+
22
+ name : PHP ${{ matrix.php }} - ${{ matrix.stability }}
23
+
24
+ steps :
25
+ - name : Checkout code
26
+ uses : actions/checkout@v3
27
+
28
+ - name : Setup PHP
29
+ uses : shivammathur/setup-php@v2
30
+ with :
31
+ php-version : ${{ matrix.php }}
32
+ extensions : json
33
+ ini-values : error_reporting=E_ALL
34
+ tools : composer:v2
35
+ coverage : xdebug
36
+
37
+ - name : Install dependencies
38
+ uses : nick-fields/retry@v2
39
+ with :
40
+ timeout_minutes : 5
41
+ max_attempts : 5
42
+ command : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
43
+ # command: composer install --prefer-dist --no-interaction --no-progress
44
+
45
+ - name : Execute tests
46
+ run : vendor/bin/pest --coverage
47
+
You can’t perform that action at this time.
0 commit comments