Commit efbff653 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] ci: enable back tests

parent 613058d8
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment