taskwiki/Makefile
Tomas Janousek c4392c36c0 ci: Revert unnecessary part of the coveralls "fix"
We already set this via the COVERALLS_SERVICE_NAME environment variable
in the GitHub Actions workflow, as it's really specific to GHA.

And as it turns out, the fix wasn't really necessary anyway as the
Coveralls.io infrastructure was just temporarily down.

Fixes: d98d5b18ac ("ci: Fix coveralls submission")
2021-09-22 17:20:21 +02:00

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) $*