diff options
author | Guillaume Pasquet <dev@etenil.net> | 2022-03-28 03:38:07 +0000 |
---|---|---|
committer | Guillaume Pasquet <dev@etenil.net> | 2022-03-28 03:38:07 +0000 |
commit | 6fda3e33ebeb27485a9259f2d07c0507871f58a9 (patch) | |
tree | 755005f90be61268326cf97a68571c2a1131693a /.gitlab-ci.yml | |
parent | e18c7e97b2bde449be234de25b657909acaf10c7 (diff) |
Set headers from the command line
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 10 |
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 |