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