Browse Source

Merge branch 'ci-format-check-before-cargo-test' into 'master'

CI: Check format before running test

See merge request famedly/conduit!124
merge-requests/124/merge
Jonas Zohren 5 years ago
parent
commit
05cd68ae99
  1. 2
      .gitlab-ci.yml

2
.gitlab-ci.yml

@ -30,8 +30,8 @@ test:cargo:
- rustup component add clippy rustfmt - rustup component add clippy rustfmt
script: script:
- rustc --version && cargo --version # Print version info for debugging - rustc --version && cargo --version # Print version info for debugging
- cargo test --workspace --verbose --locked
- cargo fmt --all -- --check - cargo fmt --all -- --check
- cargo test --workspace --verbose --locked
- cargo clippy - cargo clippy
# --------------------------------------------------------------------- # # --------------------------------------------------------------------- #

Loading…
Cancel
Save