Commit faf52d67 authored by Swann Perarnau's avatar Swann Perarnau
Browse files

[ci] activate repoquality on CI

Note: the previous steps work because our only untagged runner has rust
properly installed. We should be careful with that.
parent 2ed86700
Pipeline #8550 passed with stages
in 2 minutes and 28 seconds
test:cargo: variables:
ARGOPKGS : "https://xgitlab.cels.anl.gov/argo/argopkgs/-/archive/master/argopkgs-master.tar.gz"
stages:
- style
- build
repoquality:
stage: style
script: script:
- rustc --version && cargo --version # Print version info for debugging - git ls-files *.rs >> .repoquality
- cargo test --lib --verbose # only do unit tests - nix run -f "$ARGOPKGS" repoquality --command repoquality
tags:
style:check: - integration
fmtcheck:
stage: style
script: script:
- cargo fmt --version - cargo fmt --version
- cargo fmt --verbose -- --check - cargo fmt --verbose -- --check
test:cargo:
stage: build
script:
- rustc --version && cargo --version # Print version info for debugging
- cargo test --lib --verbose # only do unit tests
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment