Skip to content

Commit

Permalink
Merge pull request #34 from szepeviktor/patch-4
Browse files Browse the repository at this point in the history
Use Composer scripts in CI
  • Loading branch information
abdumu committed Dec 6, 2020
2 parents 9ed2814 + b3ae7ab commit 122ec8a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/phpunit.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4]
php: ['7.2', '7.3', '7.4']
dependency-version: [prefer-lowest, prefer-stable]

runs-on: ubuntu-latest
Expand All @@ -33,11 +33,8 @@ jobs:
php-version: ${{ matrix.php }}
coverage: none



- name: Install dependencies
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest --no-progress


- name: Run tests
run: vendor/bin/phpunit tests
run: composer run-script test

0 comments on commit 122ec8a

Please sign in to comment.