Skip to content
Snippets Groups Projects
Verified Commit 3db1ed61 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

ci: use python:3.11-slim image

parent 5008c7d4
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ build-openapi-scheme: ...@@ -18,6 +18,7 @@ build-openapi-scheme:
variables: variables:
OPENAPI_JSON: ./public/api.json OPENAPI_JSON: ./public/api.json
before_script: before_script:
# we do this, because YAML anchors are not supported when executing locally
- apt-get update - apt-get update
- apt-get install -y gcc libldap2-dev libsasl2-dev libmagic-dev - apt-get install -y gcc libldap2-dev libsasl2-dev libmagic-dev
- pip install --upgrade pip - pip install --upgrade pip
...@@ -33,13 +34,14 @@ build-openapi-scheme: ...@@ -33,13 +34,14 @@ build-openapi-scheme:
run_test_cases: run_test_cases:
stage: test stage: test
image: python:3.11 image: python:3.11-slim
before_script: before_script:
- apt-get -qq update # we do this, because YAML anchors are not supported when executing locally
- apt-get -y install curl pip libsasl2-dev libldap2-dev libssl-dev - apt-get -qq update
- python3 -m pip install --upgrade pip - apt-get install -y gcc libldap2-dev libsasl2-dev libmagic-dev
- pip install poetry - python3 -m pip install --upgrade pip
- poetry install --no-interaction - python3 -m pip install poetry
- poetry install --no-interaction
script: script:
- mkdir logs - mkdir logs
- make coverage - make coverage
......
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