Skip to content

Commit

Permalink
ci: update to fail on PHP 8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Jan 20, 2021
1 parent 59a6946 commit 4559db5
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/tests.yml
Expand Up @@ -5,22 +5,11 @@ on: ['push', 'pull_request']
jobs:
ci:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.prerelease }}
strategy:
matrix:
os: [ubuntu-latest]
php: ['7.3', '7.4']
php: ['7.3', '7.4', '8.0']
dependency-version: [prefer-lowest, prefer-stable]
prerelease: [false]
include:
- php: 8.0
os: ubuntu-latest
dependency-version: prefer-lowest
prerelease: true
- php: 8.0
os: ubuntu-latest
dependency-version: prefer-stable
prerelease: true

name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}

Expand All @@ -45,5 +34,4 @@ jobs:
run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi

- name: Unit Tests
continue-on-error: ${{ matrix.prerelease }}
run: vendor/bin/pest --colors=always

0 comments on commit 4559db5

Please sign in to comment.