run tests consecutively to avoid constraint violation

This commit is contained in:
clowzed 2023-11-11 00:15:17 +03:00
parent 2b718fbc21
commit 18cc37a535

View file

@ -29,7 +29,7 @@ jobs:
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose -- --test-threads=1
env:
DATABASE_URL: "postgres://postgres:postgres@localhost:5432/postgres"
PORT: 8080