Merge pull request #197 from mewebstudio/196-albaraka-posnet-yanlis-u… #369
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php: ['7.4', '8.0'] | |
dependency-version: [prefer-stable] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: composer install --no-progress --no-suggest | |
- name: PHPStan | |
run: vendor/bin/phpstan | |
- name: Run test suite | |
run: vendor/bin/phpunit --testsuite=unit |