diff --git a/.woodpecker.yml b/.woodpecker.yml index d17cba4..e31e78a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -12,10 +12,11 @@ steps: - apt-get update - apt-get install postgresql sudo -y --no-install-recommends --no-install-suggests - adduser testuser + - chown testuser:testuser . -R - export PATH="/usr/lib/postgresql/15/bin:/usr/local/cargo/bin:$PATH" - ls -la /usr/local/cargo/bin - sudo ls -la /usr/local/cargo/bin - - sudo -E -u testuser /usr/local/cargo/bin/cargo test --no-fail-fast + - sudo -E -u testuser cargo test --no-fail-fast cargo_fmt: image: *rust_image