Added a testing stage
All checks were successful
ci-tests/simple-python-pyinstaller-tapp/pipeline/head This commit looks good

This commit is contained in:
2022-01-19 08:34:01 +02:00
parent 8af1a18b85
commit 93c31675b8

15
Jenkinsfile vendored
View File

@@ -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'
}
}
}
}
}