Skip to content

Commit fe5c8cc

Browse files
authored
Apply branch_protection_fixes patch (#174)
1 parent b537267 commit fe5c8cc

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

.github/workflows/IntegrationTest.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
paths:
88
- "Project.toml"
99
pull_request:
10+
types:
11+
- "opened"
12+
- "synchronize"
13+
- "reopened"
14+
- "ready_for_review"
15+
- "converted_to_draft"
1016
paths:
1117
- "Project.toml"
1218
jobs:
@@ -24,3 +30,14 @@ jobs:
2430
with:
2531
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
2632
pkg: "${{ matrix.pkg }}"
33+
integration-gate:
34+
name: "IntegrationTest"
35+
needs: "integration-test"
36+
if: "${{ always() }}"
37+
runs-on: "ubuntu-latest"
38+
steps:
39+
- name: "Fail if any downstream integration test failed"
40+
run: |
41+
echo "integration-test.result = ${{ needs.integration-test.result }}"
42+
test "${{ needs.integration-test.result }}" = "success"
43+

.github/workflows/Tests.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ on:
88
tags: "*"
99
paths-ignore:
1010
- "docs/**"
11-
pull_request: ~
11+
pull_request:
12+
types:
13+
- "opened"
14+
- "synchronize"
15+
- "reopened"
16+
- "ready_for_review"
17+
- "converted_to_draft"
1218
workflow_dispatch: ~
1319
concurrency:
1420
group: "${{ github.workflow }}-${{ github.ref }}"
@@ -34,3 +40,14 @@ jobs:
3440
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
3541
secrets:
3642
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 = "NamedDimsArrays"
22
uuid = "60cbd0c0-df58-4cb7-918c-6f5607b73fde"
3-
version = "0.14.6"
3+
version = "0.14.7"
44
authors = ["ITensor developers <support@itensor.org> and contributors"]
55

66
[workspace]

0 commit comments

Comments
 (0)