aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8562f11..e8971aa 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:latest
+ image: python:bullseye
# Pip's cache doesn't store the python packages
# https://pip.pypa.io/en/stable/topics/caching/
#
@@ -24,6 +24,8 @@ test:
- 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
test-pypy:
@@ -36,6 +38,8 @@ test-pypy:
- 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 pypy3 -- --browser firefox
lint: