diff --git a/Jenkinsfile b/Jenkinsfile index aede9d0..6a98cb5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,6 +12,25 @@ 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' + } + } + } + + } - + } \ No newline at end of file