Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

Commit 54c90fa2 authored by flothoni's avatar flothoni
Browse files

gitlab-ci; make doc (tangle) before launching the cypress tests

parent df1e8e5a
...@@ -286,7 +286,6 @@ old-chrome-browser-functional-external-chrome: ...@@ -286,7 +286,6 @@ old-chrome-browser-functional-external-chrome:
- legacy - legacy
.browser-tutorial: .browser-tutorial:
stage: test_tutorial stage: test_tutorial
retry: 2 retry: 2
...@@ -637,15 +636,15 @@ stop_deploy_review_server: ...@@ -637,15 +636,15 @@ stop_deploy_review_server:
script: script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker pull "vidjilci/cypress_with_browsers:latest" - docker pull "vidjilci/cypress_with_browsers:latest"
# - docker build ./docker/ci -t "vidjilci/cypress_with_browsers:latest"
- cd browser/ - cd browser/
- make icons - make icons
- cd .. - cd ..
- make -C doc analysis-example || true
# Cypress # Cypress
# - echo $CYPRESS_PATH - echo -e "Run cypress with browser; $CYPRESS_PATH"
- docker run -v $PWD/$CYPRESS_PATH:/app/cypress -v $PWD/browser/test/data:/app/cypress/fixtures/data -v $PWD/browser/test/doc:/app/cypress/fixtures/doc -v $PWD:/app/vidjil -v "$PWD/docker/ci/cypress_script.bash":"/app/script.bash" --env BROWSER=$BROWSER --env HOST=$HOST --env PROJECT=$PROJECT "vidjilci/cypress_with_browsers:latest" bash script.bash - docker run -v $PWD/$CYPRESS_PATH:/app/cypress -v $PWD/browser/test/data:/app/cypress/fixtures/data -v $PWD/doc:/app/cypress/fixtures/doc -v $PWD:/app/vidjil -v "$PWD/docker/ci/cypress_script.bash":"/app/script.bash" --env BROWSER=$BROWSER --env HOST=$HOST --env PROJECT=$PROJECT "vidjilci/cypress_with_browsers:latest" bash script.bash
variables: variables:
BROWSER: browsers/firefox_legacy/firefox BROWSER: electron
CYPRESS_PATH: browser/test/cypress CYPRESS_PATH: browser/test/cypress
PROJECT: ./browser/test/ PROJECT: ./browser/test/
HOST: local HOST: local
......
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