Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ø
Øving 8 - GitLab-CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emil Myrvang Johansen
Øving 8 - GitLab-CI
Commits
ac9c1f27
Commit
ac9c1f27
authored
4 years ago
by
emjohansen
Browse files
Options
Downloads
Patches
Plain Diff
yo
parent
48dd6052
No related branches found
No related tags found
No related merge requests found
Pipeline
#133142
failed
4 years ago
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
.gitlab-cy-cpo.yml
+0
-26
0 additions, 26 deletions
.gitlab-cy-cpo.yml
.gitlab-cy.yml
+1
-1
1 addition, 1 deletion
.gitlab-cy.yml
with
2 additions
and
28 deletions
.gitlab-ci.yml
+
1
−
1
View file @
ac9c1f27
...
@@ -18,7 +18,7 @@ test:
...
@@ -18,7 +18,7 @@ test:
script
:
script
:
# install dependencies
# install dependencies
-
npm ci
-
npm ci
-
npx cypress install --force
# start the server in the background
# start the server in the background
-
npm start &
-
npm start &
# run Cypress tests
# run Cypress tests
...
...
This diff is collapsed.
Click to expand it.
.gitlab-cy-cpo.yml
deleted
100644 → 0
+
0
−
26
View file @
48dd6052
stages
:
-
test
cache
:
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
node_modules/
-
.npm/
test
:
image
:
cypress/browsers:node12.14.1-chrome85-ff81
stage
:
test
script
:
# install dependencies
-
npm ci
-
npx cypress install --force
# start the server in the background
-
npm start &
# run Cypress tests
-
npm test
artifacts
:
when
:
always
paths
:
-
cypress/videos/**/*.mp4
-
cypress/screenshots/**/*.png
expire_in
:
1 day
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.gitlab-cy.yml
+
1
−
1
View file @
ac9c1f27
...
@@ -18,7 +18,7 @@ test:
...
@@ -18,7 +18,7 @@ test:
script
:
script
:
# install dependencies
# install dependencies
-
npm ci
-
npm ci
-
npx cypress install --force
# start the server in the background
# start the server in the background
-
npm start &
-
npm start &
# run Cypress tests
# run Cypress tests
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment