Skip to content

Commit

Permalink
.gitlab-ci.yml, test/Makefile: launch functional tests on CI with ver…
Browse files Browse the repository at this point in the history
…sioned browsers list

See #3722 and #3701.
  • Loading branch information
magiraud authored and mikael-s committed Mar 5, 2019
1 parent 3b0c961 commit a4abacf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Expand Up @@ -223,7 +223,7 @@ test_browser-functional:
- make -C browser - make -C browser
- source /etc/profile.d/rvm.sh - source /etc/profile.d/rvm.sh
- rvm use 2.6.1 - rvm use 2.6.1
- HEADLESS=1 make -C browser/test functional - HEADLESS=1 make -C browser/test functional BROWSERS=--browsers-from-file
artifacts: artifacts:
paths: paths:
- browser/ - browser/
Expand Down
6 changes: 4 additions & 2 deletions browser/test/Makefile
@@ -1,4 +1,6 @@


BROWSERS=

all: unit functional all: unit functional


unit: nightmare unit: nightmare
Expand All @@ -8,10 +10,10 @@ headless:
HEADLESS=1 $(MAKE) external HEADLESS=1 $(MAKE) external


functional: ../../doc/analysis-example1.vidjil functional: ../../doc/analysis-example1.vidjil
sh launch_functional_tests functional/test_*rb sh launch_functional_tests $(BROWSERS) functional/test_*rb


external: ../../doc/analysis-example1.vidjil external: ../../doc/analysis-example1.vidjil
sh launch_functional_tests functional/external_test_*rb sh launch_functional_tests $(BROWSERS) functional/external_test_*rb


functional-rbx: ../../doc/analysis-example1.vidjil functional-rbx: ../../doc/analysis-example1.vidjil
LIVE_SERVER=http://app.vidjil.org/browser/ ruby test_browser.rb LIVE_SERVER=http://app.vidjil.org/browser/ ruby test_browser.rb
Expand Down

0 comments on commit a4abacf

Please sign in to comment.