Skip to content
Snippets Groups Projects
Commit 718c1f3c authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

CI: run all linting tasks in one job

parent 1d569516
No related branches found
No related tags found
No related merge requests found
Pipeline #105775 passed
......@@ -38,26 +38,14 @@ test-php8.0:
PHP: "php8.0"
<<: *test_defaults
psalm:
linting:
stage: test
allow_failure: true
script:
- sudo update-alternatives --set php /usr/bin/php7.4
- composer install
- composer run psalm
phpstan:
stage: test
allow_failure: true
script:
- sudo update-alternatives --set php /usr/bin/php7.4
- composer install
- composer run phpstan
cs-fixer:
stage: test
allow_failure: true
script:
- sudo update-alternatives --set php /usr/bin/php7.4
- composer install
- composer run cs
- result=0
- composer run cs || result=1
- composer run phpstan || result=1
- composer run psalm || result=1
- exit $result
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment