Skip to content

Commit 3904790

Browse files
committed
Move PHPStan check
1 parent 3e653ab commit 3904790

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262
run: "composer show"
6363

6464
- name: "Run code style check"
65-
run: "composer run-script cs-check"
65+
run: "composer run-script cs-check"
6666
if: ${{ matrix.composer-deps == 'latest' && matrix.php-version == '7.4' }}
6767

6868
- name: "Run CI"
69-
run: "composer run-script ci"
69+
run: "composer run-script phpunit"
7070

7171
tests-with-coverage:
7272
name: "Tests with coverage and PR Comments"
@@ -124,6 +124,9 @@ jobs:
124124
git fetch --depth=1 origin $GITHUB_BASE_REF
125125
composer run-script infection -- --git-diff-filter=AM --git-diff-base=origin/$GITHUB_BASE_REF --logger-github --ignore-msi-with-no-mutations --only-covered
126126
127+
- name: Run PHPStan
128+
run: composer run-script phpstan -- --error-format=github
129+
127130
test-runs-on-docker:
128131
name: "Test if tests pass in the Docker container"
129132
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)