Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
MAXakaWIZARD committed Dec 19, 2023
1 parent 7d75edc commit ffedcb9
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -34,6 +34,7 @@ jobs:
- php: '7.4'
deps: 'psr-http-message-v1'
coverage: 'yes'
phpcs: 'yes'
- php: '8.0'
- php: '8.1'
- php: '8.2'
Expand Down Expand Up @@ -77,13 +78,17 @@ jobs:
run: |
composer u psr/http-message -o -q --no-suggest --prefer-lowest
- name: Run phpcs and phpunit
if: "matrix.coverage != 'yes'"
- name: Run phpcs
if: "matrix.phpcs == 'yes'"
run: |
composer phpcs
- name: Run PHPUnit
if: "matrix.coverage != 'yes'"
run: |
vendor/bin/phpunit
- name: Run phpunit with coverage report
- name: Run PHPUnit with coverage report
if: "matrix.coverage == 'yes'"
run: |
vendor/bin/phpunit --coverage-clover build/logs/clover.xml
Expand Down

0 comments on commit ffedcb9

Please sign in to comment.