From 2b9d7821c02388ba79bef023a2037052e1919730 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Wed, 13 Nov 2024 08:33:28 +0100 Subject: [PATCH] improved gitlab test matrix --- .gitlab-ci.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5543e53..75b4a78 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -141,12 +141,16 @@ test: DATABASE: sqlite:///../app/db.sqlite parallel: matrix: - - IMAGE: [ 'python:3.11-slim-bookworm', 'python:3.12-slim-bullseye' ] - REQUIREMENTS: - - requirements.txt - - .DEBIAN/requirements-bookworm-12.txt - - .DEBIAN/requirements-ubuntu-23.10.txt - - .DEBIAN/requirements-ubuntu-24.04.txt + - IMAGE: [ 'python:3.12-slim-bookworm' ] + REQUIREMENTS: [ 'requirements.txt' ] + - IMAGE: [ 'debian:bookworm' ] + REQUIREMENTS: [ '.DEBIAN/requirements-bookworm-12.txt' ] + - IMAGE: [ 'ubuntu:23.10' ] + REQUIREMENTS: [ '.DEBIAN/requirements-ubuntu-23.10.txt' ] + - IMAGE: [ 'ubuntu:24.04' ] + REQUIREMENTS: [ '.DEBIAN/requirements-ubuntu-24.04.txt' ] + - IMAGE: [ 'ubuntu:24.10' ] + REQUIREMENTS: [ '.DEBIAN/requirements-ubuntu-24.10.txt' ] before_script: - apt-get update && apt-get install -y python3-dev gcc - pip install -r $REQUIREMENTS