Skip to content

Commit

Permalink
ci: replace unittest with tox
Browse files Browse the repository at this point in the history
  • Loading branch information
Pog3k committed Jan 24, 2023
1 parent d662c1d commit 598d80f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pipeline
containerTemplate
{
name 'kiso-build-env'
image 'eclipse/kiso-build-env:v0.2.0'
image 'eclipse/kiso-build-env:v0.2.1'
alwaysPullImage 'true'
ttyEnabled true
resourceRequestCpu '2'
Expand Down Expand Up @@ -54,15 +54,15 @@ pipeline
}
}
}
stage('Run unittests')
stage('Run unittests with tox')
{
options
{
timeout(time: 10, unit: 'MINUTES')
timeout(time: 20, unit: 'MINUTES')
}
steps
{
sh 'poetry run pytest --junitxml=reports/testReport.xml'
sh 'tox run'
}
}
stage('Run virtual-test')
Expand Down

0 comments on commit 598d80f

Please sign in to comment.