Skip to content

Commit 5cc6852

Browse files
authored
Apply branch_protection_fixes patch (#222)
1 parent 60260c1 commit 5cc6852

3 files changed

Lines changed: 25 additions & 1 deletion

File tree

.github/workflows/IntegrationTest.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
- "reopened"
1414
- "ready_for_review"
1515
- "converted_to_draft"
16+
paths:
17+
- "Project.toml"
1618
jobs:
1719
integration-test:
1820
name: "IntegrationTest"
@@ -26,3 +28,14 @@ jobs:
2628
with:
2729
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
2830
pkg: "${{ matrix.pkg }}"
31+
integration-gate:
32+
name: "IntegrationTest"
33+
needs: "integration-test"
34+
if: "${{ always() }}"
35+
runs-on: "ubuntu-latest"
36+
steps:
37+
- name: "Fail if any downstream integration test failed"
38+
run: |
39+
echo "integration-test.result = ${{ needs.integration-test.result }}"
40+
test "${{ needs.integration-test.result }}" = "success"
41+

.github/workflows/Tests.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,14 @@ jobs:
4040
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
4141
secrets:
4242
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
43+
tests-gate:
44+
name: "Tests"
45+
needs: "tests"
46+
if: "${{ always() }}"
47+
runs-on: "ubuntu-latest"
48+
steps:
49+
- name: "Fail if any matrix leg failed"
50+
run: |
51+
echo "tests.result = ${{ needs.tests.result }}"
52+
test "${{ needs.tests.result }}" = "success"
53+

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "BlockSparseArrays"
22
uuid = "2c9a651f-6452-4ace-a6ac-809f4280fbb4"
3-
version = "0.10.23"
3+
version = "0.10.24"
44
authors = ["ITensor developers <support@itensor.org> and contributors"]
55

66
[workspace]

0 commit comments

Comments
 (0)