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