Skip to content

Commit

Permalink
Improve github actions commands
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Jul 19, 2021
1 parent 9f16e31 commit 161bda7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,13 @@ jobs:
- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress ${{ matrix.flags }}

- name: Run Unit tests
- name: Run Unit tests with coverage
run: composer phpunit
if: ${{ matrix.php != '8.1' }}

- name: Run Unit tests without coverage
run: vendor/bin/phpunit --no-coverage -vvv
if: ${{ matrix.php == '8.1' }}

- name: Run static analysis
run: composer phpstan
Expand Down

0 comments on commit 161bda7

Please sign in to comment.