diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 95ed3b31721b8cd2f99834d9f67ce8810e5c0811..eff2a284513d0488cc87080161d07760cf7b7618 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,5 @@ stages: + - schedule - labels - quality - build @@ -17,6 +18,15 @@ workflow: - Cargo.toml - Cargo.lock +sanity_tests: + extends: .env + rules: + - if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TOPIC=="sanity-tests"' + - when: never + stage: schedule + script: + - cargo sanity-${CURRENCY} + check_labels: extends: .env stage: labels @@ -134,15 +144,6 @@ build_release_manual: - build/ expire_in: 3 day -sanity_tests: - extends: .env - rules: - - if: $CI_PIPELINE_SOURCE == "schedule" - - when: never - stage: tests - script: - - cargo sanity-gdev - tests_debug: extends: .env rules: