Skip to content
代码片段 群组 项目
提交 e2b4d7e4 编辑于 作者: Allison Browne's avatar Allison Browne
浏览文件

Merge branch 'allison.browne-optional-junit-report' into 'master'

Add optional junit report generation

See merge request gitlab-org/gitlab!91618
No related branches found
No related tags found
无相关合并请求
...@@ -26,3 +26,14 @@ test:cargo: ...@@ -26,3 +26,14 @@ test:cargo:
script: script:
- rustc --version && cargo --version # Print version info for debugging - rustc --version && cargo --version # Print version info for debugging
- cargo test --workspace --verbose - 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
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册