Run tests normally
This commit is contained in:
parent
8d47b339f6
commit
256267c213
|
@ -44,18 +44,19 @@ cargo:check:
|
|||
cargo:test:
|
||||
extends: .with_rust_image
|
||||
stage: test
|
||||
artifacts:
|
||||
reports:
|
||||
coverage_report:
|
||||
coverage_format: cobertura
|
||||
path: cobertura.xml
|
||||
junit: junit.xml
|
||||
# artifacts:
|
||||
# reports:
|
||||
# coverage_report:
|
||||
# coverage_format: cobertura
|
||||
# path: cobertura.xml
|
||||
# junit: junit.xml
|
||||
variables:
|
||||
RUST_BACKTRACE: 1
|
||||
CARGO_COMMON_ARGS: --workspace --no-default-features
|
||||
CARGO_COMMON_ARGS: --workspace
|
||||
script:
|
||||
- mkdir -p .git/hooks # for rusty-hook
|
||||
- cargo test ${CARGO_COMMON_ARGS}
|
||||
# - cargo tarpaulin ${CARGO_COMMON_ARGS} --locked -o Xml
|
||||
- cargo test ${CARGO_COMMON_ARGS} -- -Z unstable-options --format json | tee test-results.json
|
||||
- cargo2junit < test-results.json > junit.xml
|
||||
# - cargo test ${CARGO_COMMON_ARGS} -- -Z unstable-options --format json | tee test-results.json
|
||||
# - cargo2junit < test-results.json > junit.xml
|
||||
# - cargo bench ${CARGO_COMMON_ARGS} # DISABLED UNTIL WE HAVE BENCH TESTS
|
||||
|
|
Loading…
Reference in New Issue