forked from uncloud/uncloud
Speed-up CI with pre-built image, add resources directory
This commit is contained in:
parent
67af7b5465
commit
df059fb00d
4 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
0
resources/ci/.lock
Normal file
0
resources/ci/.lock
Normal file
3
resources/ci/Dockerfile
Normal file
3
resources/ci/Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM fedora:latest
|
||||
|
||||
RUN dnf install -y python3-devel python3-pip python3-coverage libpq-devel openldap-devel gcc chromium
|
Loading…
Reference in a new issue