mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00

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