From 93b234e2f2be0e6efae0a7178e0f8c2bbe0fc8d5 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sun, 8 Jun 2025 01:41:41 +0200 Subject: run postgres tests in CI --- .gitlab-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9263e91..b187104 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,13 +20,11 @@ default: - pip install tox test: + parallel: + matrix: + - DB: ["sqlite", "postgres"] script: - - pip install poetry && pip install "playwright=="$(poetry show playwright | grep version | cut -f 2 -d ":" | tr -d " ") - - playwright install firefox - - playwright install-deps - - apt install -y redis-server - - redis-server >/dev/null 2>&1 & - - tox -e python -- --browser firefox + - ci/run_tests.sh $DB # test-pypy: # image: pypy:3 -- cgit v1.2.3 From 1843560ee69655de615912c4eac5ec8dce921830 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sun, 8 Jun 2025 10:58:16 +0200 Subject: update CI image to bookworm --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b187104..20307c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" default: - image: python:bullseye + image: python:bookworm # Pip's cache doesn't store the python packages # https://pip.pypa.io/en/stable/topics/caching/ # @@ -17,6 +17,7 @@ default: before_script: - python --version # For debugging + - dpkg -s libsqlite3-0 - pip install tox test: -- cgit v1.2.3