Skip to content

Commit faba972

Browse files
committed
CI: Run phpstan analise
1 parent 137dbfd commit faba972

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,13 @@ jobs:
4040
- name: Install dependencies
4141
run: composer install --prefer-dist --no-interaction --no-progress
4242

43-
- name: Install GnuPG v1 (GnuPG v2 does not work with Github Actions)
43+
- name: Install GnuPG v2
4444
run: sudo apt-get install -y gnupg2
4545

46+
- name: Execute phpstan
47+
if: matrix.php >= 7.4
48+
run: php -dmemory_limit=256M vendor/bin/phpstan analyse -v
49+
4650
- name: Execute tests
4751
run: TESTS_GPG_BINARY=/usr/bin/gpg vendor/bin/phpunit --stop-on-error tests
4852

0 commit comments

Comments
 (0)