diff --git a/.woodpecker.yml b/.woodpecker.yml index 746499f..f3e195a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -17,8 +17,8 @@ steps: - pwd - export PATH="/usr/lib/postgresql/15/bin:/woodpecker/src/github.com/Nutomic/ibis/bin:$PATH" - ls -la bin - - sudo -E -u testuser env | /bin/grep PATH - - sudo -E -u testuser cargo test --no-fail-fast + - sudo -u testuser "PATH=$PATH" env | /bin/grep PATH + - sudo -u testuser "PATH=$PATH" cargo test --no-fail-fast cargo_fmt: image: *rust_image