From ad00badae07c9cadf34589a36e3045727b287ac4 Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Tue, 23 Jul 2024 08:55:01 +0100 Subject: [PATCH 1/3] Minimal wheel build fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8cb06f27..8f4bb8a28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,7 +104,7 @@ jobs: uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1 with: python-version: '3.10' - test_extras: 'tests' + test_extras: 'dev' test_command: 'pytest -p no:warnings --doctest-rst --pyargs ndcube' submodules: false secrets: From ad79fb1b65d7e032de31ccdd3a3f6d9e357157ba Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Tue, 23 Jul 2024 09:01:35 +0100 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f4bb8a28..c46838e87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,11 @@ jobs: if: | github.event_name != 'pull_request' && ( github.ref_name != 'main' || - github.event_name == 'workflow_dispatch' ) + github.event_name == 'workflow_dispatch' + ) || ( + github.event_name == 'pull_request' && + contains(github.event.pull_request.labels.*.name, 'Run publish') + ) needs: [test, docs] uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1 with: From eeef9009c07f871f7f1e922ef416ddf8835883d5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 08:10:55 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c46838e87..edc8b258c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,7 @@ jobs: if: | github.event_name != 'pull_request' && ( github.ref_name != 'main' || - github.event_name == 'workflow_dispatch' + github.event_name == 'workflow_dispatch' ) || ( github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Run publish')