Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DatabaseTest
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
Container Registry
Model registry
Operate
Environments
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
Eyvind Nikolai Holt
DatabaseTest
Merge requests
!1
Til o3
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Til o3
test
into
master
Overview
0
Commits
2
Pipelines
1
Changes
8
Merged
Eyvind Nikolai Holt
requested to merge
test
into
master
6 years ago
Overview
0
Commits
2
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
version 1
version 1
ba674809
6 years ago
master (base)
and
latest version
latest version
9e9d933d
2 commits,
6 years ago
version 1
ba674809
1 commit,
6 years ago
Show latest version
1 file
+
38
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
0 → 100644
+
38
−
0
Options
image
:
node:8
# Set up MySQL test-database
services
:
-
mysql:5.5
# Configure test-database
variables
:
MYSQL_DATABASE
:
supertestdb
MYSQL_ROOT_PASSWORD
:
secret
# Install node libraries
before_script
:
-
npm install
# Run JEST tests
run_tests
:
stage
:
test
script
:
-
npm test
artifacts
:
paths
:
-
coverage/
# Publish coverage report on gitlab-pages
pages
:
stage
:
deploy
dependencies
:
-
run_tests
script
:
-
mkdir .public
-
cp -r coverage/* .public
-
mv .public public
artifacts
:
paths
:
-
public
only
:
-
master
Loading