Skip to content

Commit

Permalink
ci: Try to skip coveralls push on pull request run
Browse files Browse the repository at this point in the history
  • Loading branch information
datakurre committed Aug 18, 2024
1 parent 9514fa8 commit 070179e
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 070179e

Please sign in to comment.