diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-06 18:08:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-06 18:08:08 +0300 |
commit | 526f1e98593d1d5691df5de18862f31dd08c4889 (patch) | |
tree | fdda2ed2752bfb458a67cc522d893ec3298d95dd /lib/gitlab/ci/templates | |
parent | c1f785fe21ee785618ef3bf0407fee166b6e0ecd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/templates')
-rw-r--r-- | lib/gitlab/ci/templates/Rust.gitlab-ci.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/gitlab/ci/templates/Rust.gitlab-ci.yml b/lib/gitlab/ci/templates/Rust.gitlab-ci.yml index 390f0bb8061..dafe3ca7bc7 100644 --- a/lib/gitlab/ci/templates/Rust.gitlab-ci.yml +++ b/lib/gitlab/ci/templates/Rust.gitlab-ci.yml @@ -26,3 +26,14 @@ test:cargo: script: - rustc --version && cargo --version # Print version info for debugging - cargo test --workspace --verbose + +# Optional: Use a third party library to generate gitlab junit reports +# test:junit-report: +# script: +# Should be specified in Cargo.toml +# - cargo install junitify +# - cargo test -- --format=json -Z unstable-options --report-time | junitify --out $CI_PROJECT_DIR/tests/ +# artifacts: +# when: always +# reports: +# junit: $CI_PROJECT_DIR/tests/*.xml |