Trying to fix drone 8

This commit is contained in:
Dessalines 2021-11-09 10:54:15 -05:00
parent 0cdc81ad93
commit 4f43f6f91f

View file

@ -21,13 +21,13 @@ steps:
commands: commands:
- /root/.cargo/bin/cargo fmt -- --check - /root/.cargo/bin/cargo fmt -- --check
- name: cargo clippy # - name: cargo clippy
image: rust:1.56-alpine # image: rust:1.56-alpine
commands: # commands:
- rustup component add clippy # - rustup component add clippy
- apk add musl-dev openssl-dev postgresql-dev libpq # - apk add musl-dev openssl-dev postgresql-dev libpq
- cargo clippy --workspace --tests --all-targets --all-features -- -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro # - cargo clippy --workspace --tests --all-targets --all-features -- -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro
- cargo clippy --workspace -- -D clippy::unwrap_used # - cargo clippy --workspace -- -D clippy::unwrap_used
- name: cargo test - name: cargo test
image: rust:1.56-alpine image: rust:1.56-alpine
@ -37,8 +37,7 @@ steps:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
RUST_TEST_THREADS: 1 RUST_TEST_THREADS: 1
commands: commands:
- sudo apt-get update - apk add libpq
- sudo apt-get -y install --no-install-recommends postgresql-client
- cargo test --workspace --no-fail-fast - cargo test --workspace --no-fail-fast
- name: check defaults.hjson updated - name: check defaults.hjson updated