aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 019530a..c34e8f3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,10 +13,14 @@ test:
before_script:
- apt update && apt install libjq1 libjq-dev libonig-dev libonig5
- rustup component add rustfmt
+ - rustup component add clippy
script:
- cargo fmt -- --check
- - cargo build --tests
- - cargo test --all
+ - cargo build --all-features --tests
+ - cargo clippy
+ - cargo clippy --features jq
+ - cargo clippy --tests
+ - cargo test --all-features
# pretty:
# stage: test