tweak CI
This commit is contained in:
parent
2c226fb1fd
commit
0959ec02d1
2
.github/workflows/CI.yml
vendored
2
.github/workflows/CI.yml
vendored
@ -77,11 +77,9 @@ jobs:
|
|||||||
- name: Run tests only
|
- name: Run tests only
|
||||||
if: matrix.php != '7.4'
|
if: matrix.php != '7.4'
|
||||||
run: ./vendor/bin/phpunit
|
run: ./vendor/bin/phpunit
|
||||||
shell: pwsh
|
|
||||||
- name: Run tests with coverage report
|
- name: Run tests with coverage report
|
||||||
if: matrix.php == '7.4'
|
if: matrix.php == '7.4'
|
||||||
run: ./vendor/bin/phpunit --coverage-clover=coverage.xml
|
run: ./vendor/bin/phpunit --coverage-clover=coverage.xml
|
||||||
shell: pwsh
|
|
||||||
- name: Upload coverage report
|
- name: Upload coverage report
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
if: matrix.php == '7.4' && success()
|
if: matrix.php == '7.4' && success()
|
||||||
|
Loading…
Reference in New Issue
Block a user