tests: Invoke using docker-compose run instead of up

Doesn't leave stopped containers around and feels more like running
locally (terminal size and CTRL-C is passed to pytest).
This commit is contained in:
Tomas Janousek 2020-06-30 00:14:57 +02:00 committed by Tomas Babej
parent d7167d9a50
commit 45d448bda6

View file

@ -1,3 +1,3 @@
test:
mkdir -p /tmp/taskwiki-coverage
docker-compose up --force-recreate --exit-code-from tests
docker-compose run --rm tests