From a9a22173d947c31dea0b666ce479b7d92ec82ddc Mon Sep 17 00:00:00 2001 From: Athlon1600 Date: Tue, 24 Oct 2023 20:47:02 -0500 Subject: [PATCH] run phpstan during integration tests --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e386fa6..21cee97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,12 @@ jobs: coverage: none - name: Install dependencies - uses: ramsey/composer-install@v2 + run: composer install --prefer-dist --no-progress + + - name: Static analysis + run: | + composer require --dev phpstan/phpstan + vendor/bin/phpstan analyse src tests - name: Run test suite run: vendor/bin/phpunit tests/