Commit 37ebde38 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'feature/remove-dind' into 'develop'

Removed dind requirement to run tests for the api part

See merge request !3
parents e9b2870e c1b80ab1
Pipeline #79 passed with stages
in 2 minutes and 11 seconds
......@@ -4,15 +4,16 @@ stages:
test_api:
stage: test
image: funkwhale/funkwhale:base
before_script:
- docker-compose -f api/test.yml build
- cd api
- pip install -r requirements/test.txt
script:
- docker-compose -f api/test.yml run test
after_script:
- docker-compose -f api/test.yml run test rm -rf funkwhale_api/media/
- export DJANGO_SETTINGS_MODULE=config.settings.test
- python manage.py test
tags:
- dind
- docker
build_front:
stage: build
......@@ -53,6 +54,6 @@ pages:
paths:
- public
only:
- master
- develop
tags:
- docker
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