diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e0b0139ade525727be606df1b41d23ec55ed93b7..753a6e3e85c75d70aa3e419e61a4c979c55cbd22 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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