Skip to content

Commit

Permalink
ci: fix matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed Nov 25, 2024
1 parent 636cba2 commit 57f703b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:

- name: Execute tests
run: vendor/bin/pest --ci
if: matrix.laravel != 11.* matrix.php != 8.3 || matrix.stability != 'prefer-stable' || matrix.os != 'ubuntu-latest'
if: matrix.laravel != '11.*' matrix.php != 8.3 || matrix.stability != 'prefer-stable' || matrix.os != 'ubuntu-latest'

- name: Execute tests with coverage
run: vendor/bin/pest --ci --coverage-clover coverage.xml
if: matrix.laravel == 11.* && matrix.php == 8.3 && matrix.stability == 'prefer-stable' && matrix.os == 'ubuntu-latest'
if: matrix.laravel == '11.*' && matrix.php == 8.3 && matrix.stability == 'prefer-stable' && matrix.os == 'ubuntu-latest'

- name: Save code coverage to artifact
uses: actions/upload-artifact@v4
if: matrix.laravel == 11.* && matrix.php == 8.3 && matrix.stability == 'prefer-stable' && matrix.os == 'ubuntu-latest'
if: matrix.laravel == '11.*' && matrix.php == 8.3 && matrix.stability == 'prefer-stable' && matrix.os == 'ubuntu-latest'
with:
name: code-coverage
path: "coverage.xml"
Expand Down

0 comments on commit 57f703b

Please sign in to comment.