Commit 22a6bbf3 authored by Ryan Herbert's avatar Ryan Herbert

.gitlab-ci.yml alter server functionnal job

start docker environment with docker compose and launch functional tests

See #2881
parent 176bb70a
......@@ -243,7 +243,9 @@ test_server_functional:
stage: test_functional
script:
- docker build --build-arg git_branch=$CI_BUILD_REF_SLUG --build-arg build_env=TEST -t $CI_BUILD_REF_SLUG docker/vidjil
- docker run $CI_BUILD_REF_SLUG HEADLESS=1 /usr/share/vidjil/server/web2py/vidjil/test/functional/launch_functional_tests test_*.rb
- cd docker && docker-compose up & && cd ..
- HEADLESS=1 make functional_server || (docker-compose stop)
- cd docker && docker-compose stop
only:
- /^feature-.*s.*\/.*$/
- /^hotfix-.*s.*\/.*$/
......
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