Commit df059fb0 authored by fnux's avatar fnux

Speed-up CI with pre-built image, add resources directory

parent 67af7b54
Pipeline #1410 passed with stage
in 1 minute and 1 second
......@@ -4,7 +4,7 @@ stages:
run-tests:
stage: test
image: fedora:latest
image: code.ungleich.ch:5050/uncloud/uncloud/uncloud-ci:latest
services:
- postgres:latest
variables:
......@@ -12,8 +12,6 @@ run-tests:
DATABASE_USER: postgres
POSTGRES_HOST_AUTH_METHOD: trust
coverage: /^TOTAL.+?(\d+\%)$/
before_script:
- dnf install -y python3-devel python3-pip python3-coverage libpq-devel openldap-devel gcc chromium
script:
- pip install -r requirements.txt
- coverage run --source='.' ./manage.py test
......
FROM fedora:latest
RUN dnf install -y python3-devel python3-pip python3-coverage libpq-devel openldap-devel gcc chromium
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment