taskwiki/Makefile
Tomas Janousek 7663a58793 tests: Fix coverage reporting
Coverage reporting wasn't migrated into the docker container and
therefore did nothing at all.
2020-07-02 09:51:56 -04:00

17 lines
292 B
Makefile

export LC_ALL := en_US.UTF-8
PYTHON ?= python3
test:
docker-compose run --rm tests
pytest:
$(PYTHON) -m pytest -vv $(PYTEST_FLAGS) tests/
cover-pytest: pytest
coverage combine
coverage report
if [ "$$TRAVIS" ]; then coveralls; fi
xvfb-%:
xvfb-run --server-args=-noreset $(MAKE) $*