add no_default_features test to CI (allow fail)
This commit is contained in:
parent
9d06e25d11
commit
353f2448b4
2 changed files with 16 additions and 0 deletions
|
@ -83,6 +83,19 @@ test:backend:
|
||||||
- Cargo.lock
|
- Cargo.lock
|
||||||
- Makefile
|
- Makefile
|
||||||
|
|
||||||
|
test:backend_no_default_features:
|
||||||
|
stage: test
|
||||||
|
image: $RUST_IMAGE
|
||||||
|
script:
|
||||||
|
- make backend_test_no_default
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- migrations/**/*
|
||||||
|
- src/**/*
|
||||||
|
- Cargo.lock
|
||||||
|
- Makefile
|
||||||
|
allow_failure: true # remove at v1.0
|
||||||
|
|
||||||
package:
|
package:
|
||||||
stage: release
|
stage: release
|
||||||
image: $RUST_IMAGE
|
image: $RUST_IMAGE
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -33,6 +33,9 @@ frontend_lint:
|
||||||
backend_test:
|
backend_test:
|
||||||
cargo test --workspace --verbose
|
cargo test --workspace --verbose
|
||||||
|
|
||||||
|
backend_test_no_default:
|
||||||
|
cargo test --no-default-features --workspace --verbose
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -vr target
|
rm -vr target
|
||||||
rm -vr ui/public/build
|
rm -vr ui/public/build
|
||||||
|
|
Loading…
Reference in a new issue