MAPG-199 save static code analysis results as artifact
This commit is contained in:
parent
2ac9794e3f
commit
8cbf611189
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
.env
|
.env
|
||||||
installed
|
installed
|
||||||
unit_test_results.xml
|
|
||||||
vendor
|
vendor
|
||||||
|
@ -17,8 +17,10 @@ pipelines:
|
|||||||
name: Static Code Analysis
|
name: Static Code Analysis
|
||||||
caches:
|
caches:
|
||||||
- composer
|
- composer
|
||||||
|
artifacts:
|
||||||
|
- static_code_analysis_results.json
|
||||||
script:
|
script:
|
||||||
- apt-get update && apt-get install -y unzip
|
- apt-get update && apt-get install -y unzip
|
||||||
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
- composer install
|
- composer install
|
||||||
- vendor/bin/phpstan analyse -c phpstan.neon
|
- vendor/bin/phpstan analyse -c phpstan.neon --error-format=prettyJson > static_code_analysis_results.json
|
||||||
|
Loading…
Reference in New Issue
Block a user