Skip to content

Commit

Permalink
Add php 8.0 to GitHub Actions ignoring its errors
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Feb 8, 2021
1 parent 3400651 commit fd7c2a4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
strategy:
fail-fast: false
matrix:
experimental:
- false
php:
- "5.3"
- "5.4"
Expand All @@ -21,6 +23,10 @@ jobs:
- "7.2"
- "7.3"
- "7.4"
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-additional-values-into-combinations
include:
- php: "8.0"
experimental: true

services:
memcache:
Expand Down Expand Up @@ -56,7 +62,9 @@ jobs:
run: |
cp tests/TestConfiguration.ci.php tests/TestConfiguration.php
- name: Run PHPUnit tests
run: vendor/bin/phpunit --verbose
- name: "Run PHPUnit tests (Experimental: ${{ matrix.experimental }})"
env:
FAILURE_ACTION: "${{ matrix.experimental == true }}"
run: vendor/bin/phpunit --verbose || $FAILURE_ACTION

# vim:ft=yaml:et:ts=2:sw=2

0 comments on commit fd7c2a4

Please sign in to comment.