Skip to content

Commit

Permalink
ci: run unit tests on PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsey committed Aug 8, 2021
1 parent f02cd2a commit 741fe68
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/continuous-integration.yml
Expand Up @@ -102,6 +102,7 @@ jobs:
unit-tests:
name: "Unit tests"
runs-on: ${{ matrix.operating-system }}
continue-on-error: ${{ matrix.experimental }}

strategy:
fail-fast: false
Expand All @@ -116,6 +117,14 @@ jobs:
dependencies:
- "lowest"
- "highest"
experimental:
- false
include:
- php-version: "8.1"
operating-system: "ubuntu-latest"
dependencies: "highest"
experimental: true
composer-options: "--ignore-platform-req=php"

steps:
- name: "Configure Git (for Windows)"
Expand All @@ -137,6 +146,7 @@ jobs:
uses: "ramsey/composer-install@v1"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "${{ matrix.composer-options }}"

- name: "Run unit tests (PHPUnit)"
run: "composer dev:test:unit"

0 comments on commit 741fe68

Please sign in to comment.