test: Add psalm checks.

This commit is contained in:
Pol Dellaiera
2021-12-21 09:59:20 +01:00
parent 97792fd85f
commit 4d9c643977
5 changed files with 2218 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ code_style:
- bin
- tests/app/vendor/
sa_tests:
phpstan_tests:
stage: Tests
image: registry.gitlab.com/chill-projet/chill-app/php-base-image:7.4
script:
@@ -71,6 +71,17 @@ sa_tests:
- bin
- tests/app/vendor/
psalm_tests:
stage: Tests
image: registry.gitlab.com/chill-projet/chill-app/php-base-image:7.4
script:
- bin/grumphp run --tasks=psalm
artifacts:
expire_in: 30 min
paths:
- bin
- tests/app/vendor/
unit_tests:
stage: Tests
image: registry.gitlab.com/chill-projet/chill-app/php-base-image:7.4