diff --git a/Makefile b/Makefile index db29682..92e9435 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,11 @@ coverage: .coverage .PHONY: coveralls coveralls: .coverage - coveralls --service=github + @if [ "$(GITHUB_REF_NAME)" != "${GITHUB_REF_NAME%/merge}" ]; then \ + coveralls --service=github \ + else \ + echo "Skipping coveralls for pull request."; \ + fi .PHONY: format format: @@ -87,3 +91,22 @@ every\ poetry\ add\ --dev\ %: PYTHON=python311 FEATURE=docutils018 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python311 FEATURE=docutils019 $(MAKE) poetry\ add\ --dev\ $* PYTHON=python311 FEATURE=docutils020 $(MAKE) poetry\ add\ --dev\ $* + +test\ all: + PYTHON=python27 FEATURE=docutils016 $(MAKE) nix-test + PYTHON=python27 FEATURE=docutils017 $(MAKE) nix-test + PYTHON=python39 FEATURE=docutils016 $(MAKE) nix-test + PYTHON=python39 FEATURE=docutils017 $(MAKE) nix-test + PYTHON=python39 FEATURE=docutils018 $(MAKE) nix-test + PYTHON=python39 FEATURE=docutils019 $(MAKE) nix-test + PYTHON=python39 FEATURE=docutils020 $(MAKE) nix-test + PYTHON=python310 FEATURE=docutils016 $(MAKE) nix-test + PYTHON=python310 FEATURE=docutils017 $(MAKE) nix-test + PYTHON=python310 FEATURE=docutils018 $(MAKE) nix-test + PYTHON=python310 FEATURE=docutils019 $(MAKE) nix-test + PYTHON=python310 FEATURE=docutils020 $(MAKE) nix-test + PYTHON=python311 FEATURE=docutils016 $(MAKE) nix-test + PYTHON=python311 FEATURE=docutils017 $(MAKE) nix-test + PYTHON=python311 FEATURE=docutils018 $(MAKE) nix-test + PYTHON=python311 FEATURE=docutils019 $(MAKE) nix-test + PYTHON=python311 FEATURE=docutils020 $(MAKE) nix-test