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

[fix] ci: enable back tests

parent 613058d8
No related branches found
No related tags found
No related merge requests found
......@@ -72,17 +72,15 @@ test:
untracked: true
paths:
- node_modules/
- coverage/
script:
- echo "Test"
# - yarn test
# # Clean the dump directory before testing
# - rm -rf /tmp/duniter_ci_dump/
# - mkdir -p /tmp/duniter_ci_dump/
# - bash .gitlab/test/check_indexes.sh /tmp/duniter_ci_dump/
# # Code coverage display in GitLab
# - tar cvzf coverage.tar.gz coverage/
# - sed -n 23p coverage/index.html | grep -Po "\d+.\d+" | sed -e "s/\(.*\)/<coverage>\1%<\/coverage>/"
- yarn test
# Clean the dump directory before testing
- rm -rf /tmp/duniter_ci_dump/
- mkdir -p /tmp/duniter_ci_dump/
- bash .gitlab/test/check_indexes.sh /tmp/duniter_ci_dump/
# Code coverage display in GitLab
- tar cvzf coverage.tar.gz coverage/
- sed -n 23p coverage/index.html | grep -Po "\d+.\d+" | sed -e "s/\(.*\)/<coverage>\1%<\/coverage>/"
coverage: '/<coverage>(\d+.\d+\%)<\/coverage>/'
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment