Skip to content

Commit ae66f10

Browse files
authored
Apply branch_protection_fixes patch (#121)
1 parent 3f24ff4 commit ae66f10

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:
@@ -22,3 +28,14 @@ jobs:
2228
with:
2329
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
2430
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: 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 = "NamedGraphs"
22
uuid = "678767b0-92e7-4007-89e4-4527a8725b19"
3-
version = "0.10.4"
3+
version = "0.10.5"
44
authors = ["Matthew Fishman <mfishman@flatironinstitute.org>, Joseph Tindall <jtindall@flatironinstitute.org> and contributors"]
55

66
[deps]

0 commit comments

Comments
 (0)