Skip to content

Commit

Permalink
Merge b6638cb into f1f7e15
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Nov 20, 2023
2 parents f1f7e15 + b6638cb commit 358d599
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,6 @@ jobs:
coverage: false
experimental: true

- php: '8.1'
phpunit: '^10.0'
coverage: false
experimental: true
- php: '8.2'
phpunit: '^10.0'
coverage: false
experimental: true

name: "Tests: PHP ${{ matrix.php }} - PHPUnit: ${{matrix.phpunit}}"

continue-on-error: ${{ matrix.experimental }}
Expand Down Expand Up @@ -131,18 +122,13 @@ jobs:
custom-cache-suffix: $(date -u "+%Y-%m")

- name: Run the unit tests
if: ${{ matrix.coverage == false && matrix.phpunit != '^10.0' }}
if: ${{ matrix.coverage == false }}
run: composer test

- name: Run the unit tests with code coverage
if: ${{ matrix.coverage == true && matrix.phpunit != '^10.0' }}
if: ${{ matrix.coverage == true }}
run: composer coverage

- name: Trial run the unit tests against PHPUnit 10.0
if: ${{ matrix.phpunit == '^10.0' }}
continue-on-error: true
run: composer test

# Uploading the results with PHP Coveralls v1 won't work from GH Actions, so switch the PHP version.
- name: Switch to PHP 7.4
if: ${{ success() && matrix.coverage == true && ( matrix.php == '5.4' || startsWith( matrix.php, '8' ) ) }}
Expand Down

0 comments on commit 358d599

Please sign in to comment.