app/scripts/run-test.sh
2021-08-20 12:00:45 +02:00

7 lines
No EOL
182 B
Bash

# Run tests
docker run -d --name sl-test-db -e POSTGRES_PASSWORD=test -e POSTGRES_USER=test -e POSTGRES_DB=test -p 15432:5432 postgres:13
poetry run pytest
docker rm -f sl-test-db