From 7675151948b55de847be4edce026a631c7ad9634 Mon Sep 17 00:00:00 2001 From: Ciaran Ryan-Anderson Date: Thu, 24 Jul 2025 09:38:39 -0600 Subject: [PATCH] get collection working on merge to dev --- .github/workflows/python-release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index 1ba295566..6cbe945ea 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -134,7 +134,11 @@ jobs: path: python/pecos-rslib/dist/*.whl test_abi3_wheels: - needs: build_wheels_pecos_rslib + needs: [check_pr_push, build_wheels_pecos_rslib] + if: | + needs.build_wheels_pecos_rslib.result == 'success' && + (needs.check_pr_push.result == 'success' && needs.check_pr_push.outputs.run == 'true' || needs.check_pr_push.result == 'skipped') && + (github.event_name != 'pull_request' || github.event.pull_request.merged == true || github.event.action == 'opened' || github.event.action == 'synchronize') runs-on: ${{ matrix.platform.runner }} strategy: fail-fast: false @@ -180,7 +184,7 @@ jobs: build_sdist_quantum_pecos: needs: [check_pr_push, build_wheels_pecos_rslib] if: | - always() && + needs.build_wheels_pecos_rslib.result == 'success' && (needs.check_pr_push.result == 'success' && needs.check_pr_push.outputs.run == 'true' || needs.check_pr_push.result == 'skipped') && (github.event_name != 'pull_request' || github.event.pull_request.merged == true || github.event.action == 'opened' || github.event.action == 'synchronize') runs-on: ubuntu-latest @@ -233,7 +237,7 @@ jobs: build_wheels_quantum_pecos: needs: [check_pr_push, build_wheels_pecos_rslib] if: | - always() && + needs.build_wheels_pecos_rslib.result == 'success' && (needs.check_pr_push.result == 'success' && needs.check_pr_push.outputs.run == 'true' || needs.check_pr_push.result == 'skipped') && (github.event_name != 'pull_request' || github.event.pull_request.merged == true || github.event.action == 'opened' || github.event.action == 'synchronize') runs-on: ubuntu-latest