Add rust_test job to .gitlab-ci.yml for Rust testing
This commit is contained in:
@@ -17,3 +17,16 @@ variables:
|
|||||||
SECRET_DETECTION_ENABLED: 'true'
|
SECRET_DETECTION_ENABLED: 'true'
|
||||||
secret_detection:
|
secret_detection:
|
||||||
stage: secret-detection
|
stage: secret-detection
|
||||||
|
|
||||||
|
rust_test:
|
||||||
|
stage: test
|
||||||
|
image: rust:1.93.1
|
||||||
|
cache:
|
||||||
|
key: cargo
|
||||||
|
paths:
|
||||||
|
- .cargo/
|
||||||
|
- target/
|
||||||
|
variables:
|
||||||
|
CARGO_HOME: "$CI_PROJECT_DIR/.cargo"
|
||||||
|
script:
|
||||||
|
- cargo test --workspace --all-features --locked
|
||||||
|
|||||||
Reference in New Issue
Block a user