Skip to content

Commit

Permalink
Add HHVM, allow php 8.1 to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelWei committed Jan 28, 2021
1 parent 9260b89 commit 26d9b22
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@ on:
pull_request:

jobs:
tests:
PHP:
name: PHP ${{ matrix.php-versions }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}

strategy:
fail-fast: false
matrix:
php-versions: ['7.2','7.3','7.4','8.1']
php-versions: ['7.2','7.3','7.4']
experimental: [false]
include:
- php-versions: '8.1'
experimental: true

steps:
- name: Checkout
Expand Down Expand Up @@ -43,3 +48,17 @@ jobs:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: vendor/bin/php-coveralls --coverage_clover=build/logs/coverage.xml -v


HHVM:
name: HHVM
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- uses: azjezz/setup-hhvm@v1
with:
version: 'latest'
- run: hhvm $(which composer) self-update
- run: hhvm $(which composer) install --dev --no-interaction
- run: hhvm vendor/bin/phpunit

0 comments on commit 26d9b22

Please sign in to comment.