File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 9
9
matrix :
10
10
os : [ubuntu-latest, macos-latest]
11
11
php : ['8.1', '8.2', '8.3', '8.4']
12
- pest : ['2.* ', '3.* ']
12
+ pest : ['2.0 ', '3.0 ']
13
13
dependency-version : [prefer-lowest, prefer-stable]
14
14
exclude :
15
15
- php : ' 8.1'
16
- pest : ' 3.* '
16
+ pest : ' 3.0 '
17
17
18
- name : PHP ${{ matrix.php }} - PEST ${{ matrix.pest }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
18
+ name : PHP ${{ matrix.php }} - PEST ^ ${{ matrix.pest }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
19
19
20
20
steps :
21
21
- name : Checkout
@@ -30,13 +30,17 @@ jobs:
30
30
31
31
- name : Install PHP dependencies
32
32
run : |
33
- composer require "pestphp/pest:${{ matrix.pest }}" --no-interaction --no-update
33
+ composer require "pestphp/pest:^ ${{ matrix.pest }}" --no-interaction --no-update
34
34
composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
35
35
36
36
- name : Unit Tests
37
+ if : matrix.os !== 'macos-latest'
37
38
run : composer test:unit -- --coverage-clover ./coverage.xml
39
+ if : matrix.os == 'macos-latest'
40
+ run : composer test:unit
38
41
39
42
- name : Upload coverage reports to Codecov
43
+ if : ${{matrix.os == 'ubuntu-latest' && matrix.php == '8.1'}}
40
44
41
45
with :
42
46
token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments