From 47e45a189a1ccf6ba469beacc05c0489f273251a Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 26 Jan 2024 13:15:20 +0100 Subject: [PATCH] copy --- .woodpecker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9d0db56..263e12f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -11,11 +11,12 @@ steps: - apt-get update - apt-get install postgresql sudo -y --no-install-recommends --no-install-suggests - adduser testuser - - cp /usr/local/rustup /home/testuser -r + - cp /usr/local/rustup /home/testuser/.rustup -r + - ls -la /home/testuser/.rustup - 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" rustup default stable + - #sudo -u testuser env "PATH=$PATH" rustup default stable - sudo -u testuser env "PATH=$PATH" cargo test --no-fail-fast cargo_fmt: