diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd97c6f..46e3a4e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -126,8 +126,8 @@ build:pacman: paths: - "*.pkg.tar.zst" -test: - image: python:3.12-slim-bookworm +test:python: + image: $IMAGE stage: test interruptible: true rules: @@ -142,17 +142,19 @@ test: DATABASE: sqlite:///../app/db.sqlite parallel: matrix: - - REQUIREMENTS: - - 'requirements.txt' -# - '.DEBIAN/requirements-bookworm-12.txt' -# - '.DEBIAN/requirements-ubuntu-24.04.txt' -# - '.DEBIAN/requirements-ubuntu-24.10.txt' + - IMAGE: +# - python:3.14-alpine +# - python:3.13-alpine + - python:3.12-alpine +# - python:3.11-alpine +# - python:3.10-alpine +# - python:3.9-alpine before_script: - apt-get update && apt-get install -y python3-dev python3-pip python3-venv gcc - python3 -m venv venv - source venv/bin/activate - pip install --upgrade pip - - pip install -r $REQUIREMENTS + - pip install -r requirements.txt - pip install pytest pytest-cov pytest-custom_exit_code httpx - mkdir -p app/cert - openssl genrsa -out app/cert/instance.private.pem 2048