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
Loading
...@@ -8,11 +8,11 @@ services: ...@@ -8,11 +8,11 @@ services:
variables: variables:
MYSQL_DATABASE: supertestdb MYSQL_DATABASE: supertestdb
MYSQL_ROOT_PASSWORD: secret MYSQL_ROOT_PASSWORD: secret
# Install node libraries # Install node libraries
before_script: before_script:
- npm install - npm install
# Run JEST tests # Run JEST tests
run_tests: run_tests:
stage: test stage: test
...@@ -21,17 +21,18 @@ run_tests: ...@@ -21,17 +21,18 @@ run_tests:
artifacts: artifacts:
paths: paths:
- coverage/ - coverage/
# Publish coverage report on gitlab-pages # Publish coverage report on gitlab-pages
pages: pages:
stage: deploy stage: deploy
dependencies: dependencies:
- run_tests - run_tests
script: script:
- mv coverage/ public/ - mkdir .public
artifacts: - cp -r coverage/* .public
- mv .public public
artifacts:
paths: paths:
- public - public
only: only:
- master - 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