Added a testing stage
All checks were successful
ci-tests/simple-python-pyinstaller-tapp/pipeline/head This commit looks good
All checks were successful
ci-tests/simple-python-pyinstaller-tapp/pipeline/head This commit looks good
This commit is contained in:
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@@ -12,5 +12,20 @@ pipeline {
|
||||
stash(name: 'compiled-results', includes: 'sources/*.py*')
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
agent {
|
||||
docker {
|
||||
image 'qnib/pytest'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'py.test --junit-xml test-reports/results.xml sources/test_calc.py'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
junit 'test-reports/results.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user