change pg user for ci test

This commit is contained in:
Ruben Fiszel
2022-08-12 02:48:08 +02:00
parent a43310d4a0
commit 8a2f63d9ff
+1
View File
@@ -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