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: ...@@ -72,17 +72,15 @@ test:
untracked: true untracked: true
paths: paths:
- node_modules/ - node_modules/
- coverage/
script: script:
- echo "Test" - 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 display in GitLab
# # Code coverage display in GitLab - tar cvzf coverage.tar.gz coverage/
# - tar cvzf coverage.tar.gz coverage/ - sed -n 23p coverage/index.html | grep -Po "\d+.\d+" | sed -e "s/\(.*\)/<coverage>\1%<\/coverage>/"
# - sed -n 23p coverage/index.html | grep -Po "\d+.\d+" | sed -e "s/\(.*\)/<coverage>\1%<\/coverage>/"
coverage: '/<coverage>(\d+.\d+\%)<\/coverage>/' coverage: '/<coverage>(\d+.\d+\%)<\/coverage>/'
artifacts: artifacts:
paths: paths:
......
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