mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 12:23:06 +02:00

The docker-compose is no longer available in checkout@v2. Use the v2 `docker compose` instead.
16 lines
338 B
Makefile
16 lines
338 B
Makefile
export LC_ALL := en_US.UTF-8
|
|
|
|
PYTHON ?= python3
|
|
|
|
test:
|
|
docker compose run --rm tests make xvfb-cover-pytest
|
|
|
|
pytest:
|
|
$(PYTHON) -m pytest -vv $(PYTEST_FLAGS) tests/
|
|
|
|
cover-pytest: PYTEST_FLAGS += --cov=taskwiki
|
|
cover-pytest: pytest
|
|
if [ "$$GITHUB_ACTIONS" ]; then coveralls || :; fi
|
|
|
|
xvfb-%:
|
|
xvfb-run --server-args=-noreset $(MAKE) $*
|