From 9c22628b4e3c3c88027c6b4407c26f5761816ef1 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Wed, 25 Oct 2023 07:31:29 +0200 Subject: [PATCH] implemented python test matrix for different python dependencies on different os releases --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f065e6d..e4dc902 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -134,8 +134,14 @@ test: - if: $CI_PIPELINE_SOURCE == "merge_request_event" variables: DATABASE: sqlite:///../app/db.sqlite + parallel: + matrix: + - REQUIREMENTS: + - requirements.txt + - .DEBIAN/requirements-bookworm-12.txt + - .DEBIAN/requirements-ubuntu-23.04.txt before_script: - - pip install -r requirements.txt + - pip install -r $REQUIREMENTS - pip install pytest httpx - mkdir -p app/cert - openssl genrsa -out app/cert/instance.private.pem 2048