mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 14:57:56 +01:00
only run pipeline for master, develop branches and merge requests
This commit is contained in:
parent
cf723e8817
commit
898725a96a
@ -29,6 +29,10 @@ lint:clippy:
|
|||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version # Print version info for debugging
|
- rustc --version && cargo --version # Print version info for debugging
|
||||||
- cargo clippy -- -D warnings
|
- cargo clippy -- -D warnings
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- development
|
||||||
|
- merge_requests
|
||||||
|
|
||||||
# Use rustfmt to check formating of the project
|
# Use rustfmt to check formating of the project
|
||||||
lint:fmt:
|
lint:fmt:
|
||||||
@ -36,12 +40,20 @@ lint:fmt:
|
|||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version # Print version info for debugging
|
- rustc --version && cargo --version # Print version info for debugging
|
||||||
- cargo fmt -- --check # TODO: Do we want to enforce formating?
|
- cargo fmt -- --check # TODO: Do we want to enforce formating?
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- development
|
||||||
|
- merge_requests
|
||||||
|
|
||||||
# Use cargo to test the project
|
# Use cargo to test the project
|
||||||
test:cargo:
|
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
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- development
|
||||||
|
- merge_requests
|
||||||
|
|
||||||
|
|
||||||
# cache dependencies and build environment to speed up setup
|
# cache dependencies and build environment to speed up setup
|
||||||
|
Loading…
Reference in New Issue
Block a user