aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGuillaume Pasquet <dev@etenil.net>2022-03-28 03:38:07 +0000
committerGuillaume Pasquet <dev@etenil.net>2022-03-28 03:38:07 +0000
commit435f39e720c7b74670fc588b09d66ba4f9d31ede (patch)
tree755005f90be61268326cf97a68571c2a1131693a /.gitlab-ci.yml
parente18c7e97b2bde449be234de25b657909acaf10c7 (diff)
parent6fda3e33ebeb27485a9259f2d07c0507871f58a9 (diff)
Merge branch '19-set-headers-from-cli' into 'main'
Set headers from the command line Closes #19 See merge request guillaume54/barb!5
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f1a229f..019530a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,10 +7,16 @@ variables:
CARGO_INCREMENTAL: 0
test:
+ variables:
+ JQ_LIB_DIR: /usr/lib/x86_64-linux-gnu
stage: test
- script:
+ before_script:
- apt update && apt install libjq1 libjq-dev libonig-dev libonig5
- - JQ_LIB_DIR=/usr/lib/x86_64-linux-gnu cargo test --all --verbose
+ - rustup component add rustfmt
+ script:
+ - cargo fmt -- --check
+ - cargo build --tests
+ - cargo test --all
# pretty:
# stage: test