From 695ae8204d3cda7c9f6975f52754ddb31ee1cef4 Mon Sep 17 00:00:00 2001 From: Dominic Davis-Foster Date: Wed, 3 Mar 2021 15:48:37 +0000 Subject: [PATCH] The deploy step should only run for pyojects where "on_pypi" is True --- repo_helper/templates/github_ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repo_helper/templates/github_ci.yml b/repo_helper/templates/github_ci.yml index fd8593b8..2b3fe957 100644 --- a/repo_helper/templates/github_ci.yml +++ b/repo_helper/templates/github_ci.yml @@ -86,7 +86,7 @@ jobs: env: GITHUB_TOKEN: ${{ "{{" }} secrets.GITHUB_TOKEN {{ "}}" }} run: | - coveralls --service=github{% endif %} + coveralls --service=github{% endif %}{% if on_pypi %} Deploy: needs: tests @@ -159,5 +159,6 @@ jobs: ANACONDA_TOKEN: ${{ "{{" }} secrets.ANACONDA_TOKEN {{ "}}" }}{% endif %} {% endif %} +{% endif %} {# TODO: perhaps merge mypy into this workflow, so that releases depend on it? #}