Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add php 8.0 to GitHub Actions ignoring its errors #59

Merged
merged 1 commit into from
Feb 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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