diff --git a/.github/workflows/backend-test.yml b/.github/workflows/backend-test.yml index 751596c034..38b67a8e7a 100644 --- a/.github/workflows/backend-test.yml +++ b/.github/workflows/backend-test.yml @@ -34,6 +34,7 @@ jobs: - uses: actions/checkout@v3 - run: /root/.cargo/bin/rustup toolchain install stable --profile minimal - uses: Swatinem/rust-cache@v2 + - run: psql postgres://postgres:changeme@localhost:5434/windmill -c "CREATE ROLE admin WITH BYPASSRLS LOGIN PASSWORD 'changeme';" - name: "cargo test" timeout-minutes: 5 run: mkdir -p frontend/build && cd backend && SQLX_OFFLINE=true DATABASE_URL=postgres://postgres:changeme@localhost:5434/windmill /root/.cargo/bin/cargo test