mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
ci: add phpstan static analysis to .gitlabci.yml
This commit is contained in:
parent
b735b369a7
commit
4a33c50fb6
@ -8,7 +8,6 @@
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"prettier/@typescript-eslint",
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
"parserOptions": {
|
||||
|
@ -44,13 +44,18 @@ before_script:
|
||||
tests:
|
||||
stage: quality
|
||||
script:
|
||||
- vendor/bin/phpunit
|
||||
- composer test
|
||||
|
||||
analysis:
|
||||
stage: quality
|
||||
script:
|
||||
# run phpstan
|
||||
- composer analyse
|
||||
|
||||
code-review:
|
||||
stage: quality
|
||||
script:
|
||||
# run rector
|
||||
- vendor/bin/rector process --dry-run
|
||||
- composer rector
|
||||
|
||||
bundle_app:
|
||||
stage: bundle
|
||||
|
Loading…
x
Reference in New Issue
Block a user