Skip to content

Commit

Permalink
Support PHP 8.1 (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Sep 5, 2021
1 parent 0b00055 commit 04b06e7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v2

- name: Install dependencies
run: composer update --no-interaction --prefer-stable --prefer-lowest --no-progress --prefer-dist
run: composer update --no-interaction --prefer-stable --prefer-lowest --no-progress

- name: Run tests
run: make test
Expand All @@ -34,7 +34,7 @@ jobs:
strategy:
max-parallel: 10
matrix:
php: ['7.2', '7.3', '7.4', '8.0']
php: ['7.2', '7.3', '7.4', '8.0', '8.1']

steps:
- name: Set up PHP
Expand All @@ -47,8 +47,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Mimic PHP 8.0
run: composer config platform.php 8.0.999
if: matrix.php > 8

- name: Install dependencies
run: composer update --no-interaction --no-progress --prefer-dist
run: composer update --no-interaction --no-progress

- name: Run tests
run: make test

0 comments on commit 04b06e7

Please sign in to comment.