From 559e6f7dbf9e55aa526334070900db4053b55c1d Mon Sep 17 00:00:00 2001 From: mtfishman Date: Fri, 20 Feb 2026 17:40:30 -0500 Subject: [PATCH] Apply branch_protection_fixes patch --- .github/workflows/IntegrationTest.yml | 13 +++++++++++++ .github/workflows/Tests.yml | 11 +++++++++++ Project.toml | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/.github/workflows/IntegrationTest.yml b/.github/workflows/IntegrationTest.yml index 1868aae8..c929f92c 100644 --- a/.github/workflows/IntegrationTest.yml +++ b/.github/workflows/IntegrationTest.yml @@ -13,6 +13,8 @@ on: - "reopened" - "ready_for_review" - "converted_to_draft" + paths: + - "Project.toml" jobs: integration-test: name: "IntegrationTest" @@ -26,3 +28,14 @@ jobs: with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" pkg: "${{ matrix.pkg }}" + integration-gate: + name: "IntegrationTest" + needs: "integration-test" + if: "${{ always() }}" + runs-on: "ubuntu-latest" + steps: + - name: "Fail if any downstream integration test failed" + run: | + echo "integration-test.result = ${{ needs.integration-test.result }}" + test "${{ needs.integration-test.result }}" = "success" + diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index e3a94c57..db43292b 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -40,3 +40,14 @@ jobs: localregistry: "https://github.com/ITensor/ITensorRegistry.git" secrets: CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" + tests-gate: + name: "Tests" + needs: "tests" + if: "${{ always() }}" + runs-on: "ubuntu-latest" + steps: + - name: "Fail if any matrix leg failed" + run: | + echo "tests.result = ${{ needs.tests.result }}" + test "${{ needs.tests.result }}" = "success" + diff --git a/Project.toml b/Project.toml index 1213f29a..3a5a1946 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "BlockSparseArrays" uuid = "2c9a651f-6452-4ace-a6ac-809f4280fbb4" -version = "0.10.23" +version = "0.10.24" authors = ["ITensor developers and contributors"] [workspace]