Skip to content
Snippets Groups Projects
Verified Commit 805c16db authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[CI] Use Xvfb

parent c4948e42
No related branches found
No related tags found
No related merge requests found
Pipeline #321 failed
......@@ -54,7 +54,7 @@ test_wheel:
image:
name: registry.edugit.org/teckids/docker-images/python-pimped:master
before_script:
- apt-get -y update && eatmydata apt-get -y install chromium-driver
- apt-get -y update && eatmydata apt-get -y install chromium-driver xvfb
- adduser --disabled-password --gecos "Test User" testuser
- mkdir -p screenshots && chown testuser screenshots
script:
......@@ -63,7 +63,7 @@ test_wheel:
- python ./manage.py compilemessages
- eatmydata python ./manage.py yarn install
- python ./manage.py collectstatic --no-input --clear
- sudo -u testuser eatmydata env TEST_SCREENSHOT_PATH=./screenshots tox
- sudo -u testuser eatmydata xvfb-run env TEST_SCREENSHOT_PATH=./screenshots tox
artifacts:
paths:
- screenshots/
......
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