diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-06-29 20:51:15 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-06-29 20:51:15 +0200 |
commit | ce6e8382b980b41eb9369f009ea492cafcf0437d (patch) | |
tree | df94292b40b7a683501b77fe95da9d025ab061b2 /.gitlab-ci.yml | |
parent | 2efc642f029fee9a5cf0640a766acd3cdf633eba (diff) | |
download | fietsboek-ce6e8382b980b41eb9369f009ea492cafcf0437d.tar.gz fietsboek-ce6e8382b980b41eb9369f009ea492cafcf0437d.tar.bz2 fietsboek-ce6e8382b980b41eb9369f009ea492cafcf0437d.zip |
install and run redis on CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8562f11..6ae2981 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 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 redis-server + - redis-server >/dev/null 2>&1 & - tox -e pypy3 -- --browser firefox lint: |