Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
321fad45
Commit
321fad45
authored
Oct 20, 2021
by
Thonier Florian
Browse files
gitlab-ci; use matric for cypress tests
Link to
#3630
parent
42122672
Pipeline
#321658
waiting for manual action with stages
in 93 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
browser/.gitlab-ci.yml
View file @
321fad45
...
...
@@ -3,7 +3,7 @@
image
:
vidjilci/cypress_with_browsers:latest
stage
:
test_cypress_client
# extends:
#
- .need_for_staged_
tes
t
#
- .need_for_staged_
clien
t
script
:
-
echo -e "Run cypress with browser $BROWSER"
-
echo -e "PWD $PWD; CYPRESS_PATH $CYPRESS_PATH"
...
...
@@ -33,22 +33,23 @@
## cypress client
#Launch in order Supported --> latest --> legacy
# For the moment, need to be into separate stage (https://gitlab.com/gitlab-org/gitlab/-/issues/30632)
test_client_cypress
:
client_early
:
extends
:
-
.test_cypress_base
-
.need_for_moderate_client
stage
:
test_cypress_client
variables
:
BROWSER
:
browsers/firefox_supported/firefox
client_late
:
extends
:
-
.test_cypress_base
parallel
:
matrix
:
-
BROWSER
:
[
browsers/firefox_supported/firefox
,
browsers/firefox_latest/firefox
,
browsers/firefox_legacy/firefox
,
browsers/chrome_supported/chrome
,
browsers/chrome_latest/chrome
,
browsers/chrome_legacy/chrome
browsers/firefox_latest/firefox
,
browsers/firefox_legacy/firefox
,
browsers/chrome_supported/chrome
,
browsers/chrome_latest/chrome
,
browsers/chrome_legacy/chrome
]
server/.gitlab-ci.yml
View file @
321fad45
.test_cypress_server
:
stage
:
test_cypress_server
# extends:
# - .need_for_staged_test
extends
:
-
.test_server_base
-
.test_cypress_base
# - .need_for_staged_server
script
:
-
docker pull "vidjilci/cypress_with_browsers:latest"
-
>
...
...
@@ -34,59 +36,23 @@
## Cypress with server
server_
firefox_supported
:
server_
early
:
extends
:
-
.test_server_base
-
.test_cypress_base
-
.test_cypress_server
-
.need_for_moderate_server
stage
:
test_cypress_server
variables
:
BROWSER
:
browsers/firefox_supported/firefox
server_firefox_latest
:
extends
:
-
.test_server_base
-
.test_cypress_base
-
.test_cypress_server
stage
:
test_cypress_server
variables
:
BROWSER
:
browsers/firefox_latest/firefox
server_firefox_legacy
:
extends
:
-
.test_server_base
-
.test_cypress_base
-
.test_cypress_server
stage
:
test_cypress_server
variables
:
BROWSER
:
browsers/firefox_legacy/firefox
server_chrome_supported
:
extends
:
-
.test_server_base
-
.test_cypress_base
-
.test_cypress_server
stage
:
test_cypress_server
variables
:
BROWSER
:
browsers/chrome_supported/chrome
server_chrome_latest
:
extends
:
-
.test_server_base
-
.test_cypress_base
-
.test_cypress_server
stage
:
test_cypress_server
variables
:
BROWSER
:
browsers/chrome_latest/chrome
server_chrome_legacy
:
## Cypress with server
server_late
:
extends
:
-
.test_server_base
-
.test_cypress_base
-
.test_cypress_server
stage
:
test_cypress_server
variables
:
BROWSER
:
browsers/chrome_legacy/chrome
parallel
:
matrix
:
-
BROWSER
:
[
browsers/firefox_latest/firefox
,
browsers/firefox_legacy/firefox
,
browsers/chrome_supported/chrome
,
browsers/chrome_latest/chrome
,
browsers/chrome_legacy/chrome
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment