mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-06-26 04:31:09 +02:00
updated ci file
This commit is contained in:
@ -1,11 +1,11 @@
|
|||||||
# This file is a template, and might need editing before it works on your project.
|
# 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:
|
# Official language image. Look for the different tagged releases at:
|
||||||
# https://hub.docker.com/r/library/python/tags/
|
# https://hub.docker.com/r/library/python/tags/
|
||||||
image: "python:3.8"
|
image: python:3.8
|
||||||
#commands to run in the Docker container before starting each job.
|
#commands to run in the Docker container before starting each job.
|
||||||
before_script:
|
before_script:
|
||||||
- pip install -r ./requirements.txt
|
- pip install -r ./requirements.txt
|
||||||
- pip install -e .
|
- pip install -e .
|
||||||
# different stages in the pipeline
|
# different stages in the pipeline
|
||||||
stages:
|
stages:
|
||||||
- Formatter
|
- Formatter
|
||||||
@ -18,7 +18,6 @@ formatter:
|
|||||||
pytest:
|
pytest:
|
||||||
stage: Test
|
stage: Test
|
||||||
script:
|
script:
|
||||||
- apt-get update && apt-get install -y git
|
- git clone https://oauth2:$CI_BEC_KEY@gitlab.psi.ch/bec/bec.git
|
||||||
- git clone https://oauth2:$CI_BEC_KEY@gitlab.psi.ch/bec/bec.git
|
- pip install -e ./bec/bec_utils
|
||||||
- pip install -e ./bec/bec_utils
|
- pytest -v ./tests
|
||||||
- pytest -v ./tests
|
|
||||||
|
Reference in New Issue
Block a user