Skip to content

Commit

Permalink
CI Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ilario-pierbattista authored Mar 19, 2021
1 parent fa67291 commit a6cc3b3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [pull_request, push]

jobs:
tests:
name: Tests (PHP ${{ matrix.php }})
runs-on: ubuntu-latest
strategy:
matrix:
allow_fail: [false]
php: [5.5, 5.6, 7.0, 7.1, 7.2, 7.3]
include:
- php: 7.4
allow_fail: true
- php: 8
allow_fail: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install dependencies
uses: "ramsey/composer-install@v1"
- name: Run tests
run: vendor/bin/phpunit test
continue-on-error: ${{ matrix.allow_fail }}

0 comments on commit a6cc3b3

Please sign in to comment.