Merge pull request 'Hint DATABASE_URL for tests' (#121) from test-databaseurl into main
Reviewed-on: #121
This commit is contained in:
commit
4125851e4d
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ then run `caddy`. You can now open your browser and load `https://plume01.localh
|
|||
|
||||
## Running tests
|
||||
|
||||
To run tests, use `DATABASE_URL` for tests and run migration at first.
|
||||
|
||||
To run tests of `plume-models` use `RUST_TEST_THREADS=1`, otherwise tests are run
|
||||
concurrently, which causes error because they all use the same database.
|
||||
|
||||
|
|
Loading…
Reference in a new issue