This commit is contained in:
e20216 2022-07-25 13:59:16 +02:00
commit 2434ba30e9

View File

@ -1,7 +1,7 @@
# This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/
image: "python:3.9"
image: "python:3.8"
#commands to run in the Docker container before starting each job.
before_script:
- pip install -r ./requirements.txt
@ -12,4 +12,7 @@ stages:
pytest:
stage: Test
script:
- pytest -v ./tests
- apt-get update && apt-get install -y git
- git clone https://oauth2:$CI_BEC_KEY@gitlab.psi.ch/bec/bec.git
- pip install -e ./bec/bec_utils
- pytest -v ./tests