mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-13 10:05:15 +08:00
Run the unit tests in parallel in the Jenkins job
This commit is contained in:
@@ -71,9 +71,17 @@ node('factory2'){
|
||||
|
||||
stage('Run Test Suites') {
|
||||
timeout(30) {
|
||||
onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --no-tty'
|
||||
onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --py3 --no-tty'
|
||||
onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --py3 --with-pgsql --no-tty'
|
||||
parallel {
|
||||
stage('Test with Python 2 & SQLite') {
|
||||
onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --no-tty'
|
||||
}
|
||||
stage('Test with Python 3 & SQLite') {
|
||||
onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --py3 --no-tty'
|
||||
}
|
||||
stage('Test with Python 3 & Postgresql') {
|
||||
onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --py3 --with-pgsql --no-tty'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user