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