Skip to content

Commit

Permalink
ci: run test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-fritsche committed May 12, 2021
1 parent 5f4fd81 commit 50086c1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,24 @@ on:
jobs:
check:
runs-on: ubuntu-latest

strategy:
matrix:
php: ['7.4', '8.0']

steps:
- uses: actions/checkout@v2
- run: composer install

- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- uses: ramsey/composer-install@v1

- run: composer lint
- run: composer test
env:
XDEBUG_MODE: coverage

- uses: codecov/codecov-action@v1
with:
file: ./coverage/clover.xml
Expand Down

0 comments on commit 50086c1

Please sign in to comment.