gitlab CI: move the pip dependencies to before_script

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-06-04 10:48:04 +10:00
parent 55e70c5fd2
commit 4c87209826
2 changed files with 2 additions and 2 deletions

View file

@ -165,9 +165,9 @@ check-commit:
stage: prep
before_script:
- apk add python3 py-pip git
script:
- pip3 install GitPython
- pip3 install pytest
script:
- |
pytest --junitxml=results.xml \
--tb=line \

View file

@ -102,9 +102,9 @@ check-commit:
stage: prep
before_script:
- apk add python3 py-pip git
script:
- pip3 install GitPython
- pip3 install pytest
script:
- |
pytest --junitxml=results.xml \
--tb=line \