diff options
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2471554e0..beef4ee1c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -458,6 +458,10 @@ every-crate: - maint/common/apt-install python3-toml python-is-python3 - ./maint/every-crate +# TODO: we should rename this to matrix_check for clarity, +# and introduce a new matrix_test script that runs cargo test. +# That way, we could use matrix_test to run the tests gated behind +# specific feature combinations, such as the cli_tests. matrix-test: stage: test image: $RECENT_RUST_IMAGE @@ -472,12 +476,28 @@ matrix-test-cfg: script: - ./maint/matrix_test_cfg +# TODO: consider removing this in favor of cli-test cli-help: stage: test image: $RECENT_RUST_IMAGE script: - ./maint/check-cli-help +# TODO: this should be folded in one of the other test jobs. +# +# Since this is testing an additional combination of features, +# ideally it would be handled by the matrix_test script, +# but matrix_test runs cargo check, and we would like to cargo *test*. +cli-test: + stage: test + image: $RECENT_RUST_IMAGE + script: + # The rust-latest job runs the CLI tests with all features enabled. + # This job runs the CLI tests with various feature combinations that aren't + # covered by the other tests + - cargo test --verbose --target x86_64-unknown-linux-gnu -p arti cli_tests + - cargo test --verbose --target x86_64-unknown-linux-gnu -p arti --features experimental cli_tests + coverage-aggregated: rules: - if: $CI_PIPELINE_SOURCE == "schedule" |
