mirror of
https://github.com/simple-login/app.git
synced 2024-11-14 08:01:13 +01:00
12 lines
No EOL
251 B
Bash
12 lines
No EOL
251 B
Bash
# Run tests
|
|
|
|
docker rm -f sl-test-db
|
|
|
|
docker run -d --name sl-test-db -e POSTGRES_PASSWORD=test -e POSTGRES_USER=test -e POSTGRES_DB=test -p 15432:5432 postgres:13
|
|
|
|
# the time the DB container starts
|
|
sleep 5
|
|
|
|
poetry run pytest
|
|
|
|
docker rm -f sl-test-db |