Merge pull request 'Hint DATABASE_URL for tests' (#121) from test-databaseurl into main

Reviewed-on: #121
This commit is contained in:
KitaitiMakoto 2021-01-24 12:22:58 +00:00
commit 4125851e4d

View file

@ -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.