[WIP] Add some test in CI to check that the code is clean #86
|
@ -1,11 +1,12 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
|
agent none
|
||||||
|
stages {
|
||||||
|
stage('PHPStan (static analysis)') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'php:8.2-cli'
|
image 'php:8.2-cli'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
|
||||||
stage('PHPStan (static analysis)') {
|
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh 'curl -fsSL https://github.com/phpstan/phpstan/releases/download/1.10.41/phpstan.phar -o phpstan.phar'
|
sh 'curl -fsSL https://github.com/phpstan/phpstan/releases/download/1.10.41/phpstan.phar -o phpstan.phar'
|
||||||
|
|
Loading…
Reference in a new issue