Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
844
Issues
844
List
Boards
Labels
Service Desk
Milestones
Merge Requests
41
Merge Requests
41
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
12578c8b
Commit
12578c8b
authored
3 minutes ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(chore): do not install cypress on all npm install, just on e2e
parent
a0b70491
master
No related merge requests found
Pipeline
#74308702
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
.gitlab-ci.yml
.gitlab-ci.yml
+7
-1
No files found.
.gitlab-ci.yml
View file @
12578c8b
...
...
@@ -19,6 +19,9 @@ cache:
-
node_modules
policy
:
pull
variables
:
CYPRESS_INSTALL_BINARY
:
0
# Speeds up the install process
test
:
image
:
circleci/node:8-browsers
stage
:
test:unit
...
...
@@ -34,6 +37,8 @@ test:
e2e
:
image
:
cypress/base:10
stage
:
test:e2e
variables
:
CYPRESS_INSTALL_BINARY
:
1
script
:
-
npm install
-
>
...
...
@@ -44,7 +49,8 @@ e2e:
fi
-
export CYPRESS_baseUrl=$E2E_DOMAIN
-
echo "E2E tests for $CI_BUILD_REF_NAME running against $E2E_DOMAIN with user $CYPRESS_username"
-
$(npm bin)/cypress run --config CYPRESS_baseUrl=$E2E_DOMAIN
-
$(npm bin)/cypress install
# Binary needs reinstalling
-
$(npm bin)/cypress run --record --key $CYPRESS_RECORD_ID --config CYPRESS_baseUrl=$E2E_DOMAIN
artifacts
:
when
:
always
paths
:
...
...
This diff is collapsed.
Click to expand it.
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