Mise à jour effectuée, merci de nous signaler tout dysfonctionnement ! | Upgrade done, please let us know about any dysfunction!

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

[enh] ci: separate unit tests from sync tests

parent a3f7abd4
......@@ -80,8 +80,6 @@ test:
# Clean the dump directory before testing
- rm -rf /tmp/duniter_ci_dump/
- mkdir -p /tmp/duniter_ci_dump/
- bash .gitlab/test/check_g1_sync.sh
- bash .gitlab/test/check_gt_sync.sh
# 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>/"
......@@ -91,6 +89,20 @@ test:
- coverage.tar.gz
expire_in: 4h
test_sync:
<<: *nvm_env
stage: test
cache:
untracked: true
paths:
- node_modules/
script:
# Clean the dump directory before testing
- rm -rf /tmp/duniter_ci_dump/
- mkdir -p /tmp/duniter_ci_dump/
- bash .gitlab/test/check_g1_sync.sh
- bash .gitlab/test/check_gt_sync.sh
.build_releases: &build_releases
stage: package
allow_failure: false
......
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