diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 927b687..0282811 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -69,14 +69,14 @@ jobs: - name: Run backend integration tests run: | - podman exec -e WORKSPACE="${GITHUB_WORKSPACE}" ci-pip-$RUN_ID sh -lc \ - 'podman run --rm \ - --network integ-$RUN_ID \ - -v "$WORKSPACE":/workspace \ - -w /workspace \ - -e DATABASE_URL=postgres://testuser:testpassword@test-postgres:5432/testdb \ - rust@sha256:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef \ - sh -c "cargo test --test '*' -- --test-threads=1"' + podman exec -e WORKSPACE="${GITHUB_WORKSPACE}" -e RUN_ID="${RUN_ID}" ci-pip-$RUN_ID sh -lc ' + podman run --rm \ + --network integ-$RUN_ID \ + -v "$WORKSPACE":/workspace \ + -w /workspace \ + -e DATABASE_URL=postgres://testuser:testpassword@test-postgres:5432/testdb \ + rust@sha256:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef \ + sh -c "cargo test --test '"'"'*'"'"' -- --test-threads=1"' - name: Cleanup test resources if: always()