Skip to content
Snippets Groups Projects
Commit 16e982b0 authored by Jens Bröder's avatar Jens Bröder
Browse files

Update gitlab CI to use python image and poetry

parent 661580ba
No related branches found
No related tags found
No related merge requests found
Pipeline #193869 failed
......@@ -11,25 +11,16 @@ stages:
- date
- pwd
- ls
- apt list --installed
- apt-get update
- apt-get install -q -y git
- git --version
- apt-get install -q -y python3-setuptools
- python3 setup.py --requires
- apt-get install -q -y python3-appdirs
#- python3 setup.py check_modules
- apt-get install -q -y python3-pip
- python3 -V
- pip3 -V
- git clone https://$clone_token@gitlab.hzdr.de/hmc/hmc/cct-1-mapping/category-definitions.git
- pip3 install ./category-definitions
- pip3 install .[pre-commit,testing]
- python -V
- pip -V
#- git clone https://$clone_token@gitlab.hzdr.de/hmc/hmc/cct-1-mapping/category-definitions.git
#- pip install ./category-definitions
- pip install poetry
- poetry install --with dev
# precommit specific stuff
run_precommit:
image: ubuntu:20.04
image: python:latest
stage: test
<<: *prepare-env
script:
......@@ -37,6 +28,7 @@ run_precommit:
# test specific stuff
.tests-template: &run-tests
image: python:latest
stage: test
<<: *prepare-env
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment