Skip to content

Commit

Permalink
Merge pull request #1986 from WordPress/feature/ghactions-fix-tests-o…
Browse files Browse the repository at this point in the history
…n-php-8.1

GH Actions: get the tests running on PHP 8.1 (nightly)
  • Loading branch information
GaryJones authored Apr 9, 2021
2 parents 2fdc57f + 96271f6 commit 0bb2688
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,10 @@ jobs:
if: ${{ matrix.phpcs_version == 'dev-master' }}
run: composer lint-ci | cs2pr

- name: Run unit tests
- name: Run the unit tests - PHP 5.4 - 8.0
if: ${{ matrix.php != '8.1' }}
run: composer run-tests

- name: Run the unit tests - PHP 8.1
if: ${{ matrix.php == '8.1' }}
run: composer run-tests -- --no-configuration --bootstrap=./Tests/bootstrap.php --dont-report-useless-tests

0 comments on commit 0bb2688

Please sign in to comment.