Commit e9d45017 authored by Mathieu Giraud's avatar Mathieu Giraud

.gitlab-ci.yml, tests/Makefile: lauch external functional tests in a new stage

See #2712
parent 1918d15a
......@@ -11,6 +11,7 @@ stages:
- test_unit
- deploy_review
- test_functional
- test_functional_external
- test_shouldvdj
- valgrind_unit
- valgrind_functional
......@@ -78,7 +79,22 @@ test_browser-functional:
- make -C browser
- source /etc/profile.d/rvm.sh
- rvm use 2.1.1
- make headless_browser
- HEADLESS=1 make -C browser/test functional
artifacts:
paths:
- browser/
only:
- /^feature-[cw]\/.*$/
- /^hotfix-[cw]\/.*$/
- prod-client
test_browser-functional-external:
stage: test_functional_external
script:
- make -C browser
- source /etc/profile.d/rvm.sh
- rvm use 2.1.1
- HEADLESS=1 make -C browser/test external
artifacts:
paths:
- browser/
......
......@@ -5,10 +5,14 @@ unit: nightmare
headless:
HEADLESS=1 $(MAKE) functional
HEADLESS=1 $(MAKE) external
functional: ../../doc/analysis-example1.vidjil
sh launch_functional_tests "functional/test_*rb"
external: ../../doc/analysis-example1.vidjil
sh launch_functional_tests "functional/external_test_*rb"
functional-rbx: ../../doc/analysis-example1.vidjil
LIVE_SERVER=http://app.vidjil.org/browser/ ruby test_browser.rb
......
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