Skip to content
Snippets Groups Projects
Commit 3a2069d3 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[enh] ci: publish coverage

parent 649f36e4
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,9 @@ build: ...@@ -47,6 +47,9 @@ build:
pages: pages:
<<: *nvm_env <<: *nvm_env
stage: pages stage: pages
cache:
paths:
- coverage/
script: script:
- yarn - yarn
- yarn doc - yarn doc
...@@ -69,14 +72,14 @@ test: ...@@ -69,14 +72,14 @@ test:
untracked: true untracked: true
paths: paths:
- node_modules/ - node_modules/
- coverage/
script: script:
- yarn test - yarn test
# Clean the dump directory before testing # Clean the dump directory before testing
- rm -rf /tmp/duniter_ci_dump/ - rm -rf /tmp/duniter_ci_dump/
- mkdir -p /tmp/duniter_ci_dump/ - mkdir -p /tmp/duniter_ci_dump/
- bash .gitlab/test/check_indexes.sh /tmp/duniter_ci_dump/ - bash .gitlab/test/check_indexes.sh /tmp/duniter_ci_dump/
# Code coverage # Code coverage display in GitLab
- cp -R coverage /tmp/coverage
- sed -n 23p coverage/index.html - sed -n 23p coverage/index.html
.build_releases: &build_releases .build_releases: &build_releases
......
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