File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1- name : Test runner
1+ name : Tests
22
33on :
4- # Run testing on all push and pull requests for the master branch that have committed changes in PHP files
4+ # Run testing on all push and pull requests for the main branch that have committed changes in PHP files
55 push :
6- branches : [ "master " ]
6+ branches : [ "main " ]
77 paths :
88 - ' **.php'
99 pull_request :
10- branches : [ "master " ]
10+ branches : [ "main " ]
1111 paths :
1212 - ' **.php'
1313 # Make it possible to run the workflow manually
2727 fail-fast : true
2828 matrix :
2929 os : [ ubuntu-latest ]
30- php : [ 8.1, 8.2 ]
30+ php : [ 8.3 ]
3131 dependency-version : [ prefer-lowest, prefer-stable ]
3232
3333 name : ${{ matrix.os }} / PHP ${{ matrix.php }} / ${{ matrix.dependency-version }}
@@ -64,12 +64,13 @@ jobs:
6464 run : composer update --prefer-dist --no-progress --${{ matrix.dependency-version }}
6565
6666 - name : Run test suite
67- run : ./vendor/bin/pest --coverage-clover ./coverage.xml
67+ run : composer test -- --coverage-clover ./coverage.xml
6868
6969 - name : Upload coverage reports to Codecov
7070 # Make sure the Codecov action is only executed once
71- if : matrix.os == 'ubuntu-latest' && matrix.php == '8.1 ' && matrix.dependency-version == 'prefer-stable'
72- uses : codecov/codecov-action@v3
71+ if : matrix.os == 'ubuntu-latest' && matrix.php == '8.3 ' && matrix.dependency-version == 'prefer-stable'
72+ uses : codecov/codecov-action@v5
7373 with :
74+ token : ${{ secrets.CODECOV_TOKEN }}
7475 files : ./coverage.xml
7576 verbose : true
You can’t perform that action at this time.
0 commit comments