Skip to content
Snippets Groups Projects
Verified Commit 1bb7945c authored by Jae Lo Presti's avatar Jae Lo Presti
Browse files

ci: use test pre-built image

parent 1aca560b
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ stages:
test:
stage: test
image: python:3.10
image: docker.tedomum.net/jae/hiboo-test-image:main
variables:
FLASK_APP: hiboo
services:
......@@ -14,16 +14,9 @@ test:
- paths:
- .venv
before_script:
- apt-get update
- apt-get install -y --no-install-recommends python3-dev libxmlsec1 libxmlsec1-dev libpq-dev libmariadb-dev apache2-bin libapache2-mod-auth-mellon libapache2-mod-auth-openidc xmlsec1
- ln -s /usr/sbin/apache2 /usr/sbin/httpd
- ln -s /usr/lib/apache2 /usr/lib/httpd
- pip install poetry
- poetry config virtualenvs.in-project true
- poetry install --with=dev
script:
- poetry run playwright install-deps
- poetry run playwright install
- poetry run pytest --screenshot=on
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment