Skip to content

Commit

Permalink
Make use of matrix in tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Oct 29, 2023
1 parent 6f1f9ca commit f3df098
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
include:
- os: ubuntu-latest
php: "8.2"
check-cs: true
runs-on: ${{ matrix.os }}
steps:
- name: Setup PHP
Expand All @@ -47,7 +51,7 @@ jobs:
exit 1
fi
- name: Check PHP coding style
if: startsWith(matrix.os, 'ubuntu') && matrix.php-version == '8.2'
if: matrix.check-cs
run: composer run-script phpcs -- --ansi --no-interaction --dry-run --diff
- name: PHPUnit
run: composer run-script test -- --colors=always

0 comments on commit f3df098

Please sign in to comment.