From 7e4102bba71e2b974b9cc3c63f3e351552da3f41 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 9 Dec 2024 12:23:15 +0100 Subject: [PATCH] try again --- .woodpecker.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5dd0810..6e5fedf 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -59,16 +59,6 @@ steps: - diesel print-schema --config-file=diesel.toml > tmp.schema - diff tmp.schema src/backend/database/schema.rs - cargo_clippy: - image: *rust_image - environment: - CARGO_HOME: .cargo_home - commands: - - echo $CARGO_HOME - - ls -lah .cargo_home - - rustup component add clippy - - cargo clippy --tests --all-targets --all-features - cargo_test: image: *rust_image environment: @@ -82,7 +72,7 @@ steps: - chown testuser:testuser . -R - chown testuser:testuser /home/testuser -R - export PATH="/usr/lib/postgresql/15/bin:/usr/local/cargo/bin:$PATH" - - sudo -u testuser env "PATH=$PATH CARGO_HOME=$CARGO_HOME" cargo test --no-fail-fast + - sudo -u testuser env "PATH=$PATH" "CARGO_HOME=$CARGO_HOME" cargo test --no-fail-fast build_release: image: *rust_image