summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJonas Zohren <gitlab-jfowl-0ux98@sh14.de>2021-07-14 20:33:19 +0000
committerJonas Zohren <gitlab-jfowl-0ux98@sh14.de>2021-07-14 20:33:19 +0000
commiteaa4c776413e997de32b5e25b09b78cfb4f8d4f9 (patch)
treeaf331e213b1398c100fc4ffacce5d268fcaacf26 /.gitlab-ci.yml
parent9268b33c3f58378f49c1759b35c0b9edcd8e1541 (diff)
downloadconduit-eaa4c776413e997de32b5e25b09b78cfb4f8d4f9.zip
CI: Check format before running test
Testing needs compilation and is slow. Format checking is quick. As format checking fails more often than tests, switching them should result in faster failure and feedback
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 424dc96..92da543 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,8 +30,8 @@ test:cargo:
- rustup component add clippy rustfmt
script:
- rustc --version && cargo --version # Print version info for debugging
- - cargo test --workspace --verbose --locked
- cargo fmt --all -- --check
+ - cargo test --workspace --verbose --locked
- cargo clippy
# --------------------------------------------------------------------- #