stages: - test variables: CARGO_BUILD_JOBS: "1" IRCSERVSERV_REPO: "https://gitlab.wikimedia.org/toolforge-repos/ircservserv" test-validate: stage: test tags: - wmcs rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH image: rust:latest script: - cargo install --locked --git $IRCSERVSERV_REPO - /usr/local/cargo/bin/validate-config channels