improved gitlab test matrix

This commit is contained in:
Oscar Krause 2024-11-13 08:33:28 +01:00
parent 45f5108717
commit 2b9d7821c0

View File

@ -141,12 +141,16 @@ test:
DATABASE: sqlite:///../app/db.sqlite DATABASE: sqlite:///../app/db.sqlite
parallel: parallel:
matrix: matrix:
- IMAGE: [ 'python:3.11-slim-bookworm', 'python:3.12-slim-bullseye' ] - IMAGE: [ 'python:3.12-slim-bookworm' ]
REQUIREMENTS: REQUIREMENTS: [ 'requirements.txt' ]
- requirements.txt - IMAGE: [ 'debian:bookworm' ]
- .DEBIAN/requirements-bookworm-12.txt REQUIREMENTS: [ '.DEBIAN/requirements-bookworm-12.txt' ]
- .DEBIAN/requirements-ubuntu-23.10.txt - IMAGE: [ 'ubuntu:23.10' ]
- .DEBIAN/requirements-ubuntu-24.04.txt 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: before_script:
- apt-get update && apt-get install -y python3-dev gcc - apt-get update && apt-get install -y python3-dev gcc
- pip install -r $REQUIREMENTS - pip install -r $REQUIREMENTS