Skip to content
Snippets Groups Projects
Commit 9fabe25d authored by nilstes's avatar nilstes
Browse files

Pages feilsok

parent 6309f76c
No related branches found
No related tags found
No related merge requests found
......@@ -8,11 +8,11 @@ services:
variables:
MYSQL_DATABASE: supertestdb
MYSQL_ROOT_PASSWORD: secret
# Install node libraries
before_script:
- npm install
# Run JEST tests
run_tests:
stage: test
......@@ -21,17 +21,18 @@ run_tests:
artifacts:
paths:
- coverage/
# Publish coverage report on gitlab-pages
pages:
stage: deploy
dependencies:
dependencies:
- run_tests
script:
- mv coverage/ public/
artifacts:
- mkdir .public
- cp -r coverage/* .public
- mv .public public
artifacts:
paths:
- public
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment