Skip to content

Commit

Permalink
Add CI for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Dec 10, 2021
1 parent 750c47c commit 6b02309
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: php-cs-fixer, phpunit:${{ matrix.phpunit-versions }}

- name: Install dependencies
run: composer install

- name: Run tests
run: composer test

0 comments on commit 6b02309

Please sign in to comment.