ci: path test II

This commit is contained in:
Alexander Engelsberger 2021-11-05 12:11:09 +01:00
parent 872bad9b86
commit 7020ac587b
No known key found for this signature in database
GPG Key ID: BE3F5909FF0D83E3
2 changed files with 1 additions and 2 deletions

View File

@ -3,5 +3,3 @@ FROM python:3.9
RUN adduser --uid 1000 jenkins RUN adduser --uid 1000 jenkins
USER jenkins USER jenkins
RUN export PATH=$PATH:~/.local/bin

1
Jenkinsfile vendored
View File

@ -10,6 +10,7 @@ pipeline {
} }
steps { steps {
sh 'export PATH=/.local/bin:$PATH'
sh 'pip install pip --upgrade --progress-bar off' sh 'pip install pip --upgrade --progress-bar off'
sh 'pip install .[all] --progress-bar off' sh 'pip install .[all] --progress-bar off'
sh 'pytest -v --junitxml=reports/result.xml' sh 'pytest -v --junitxml=reports/result.xml'