Skip to content

Commit 56acca0

Browse files
authored
Apply test_gate_skip_on_skipped patch (ITensor#93)
1 parent 1e3a67f commit 56acca0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/IntegrationTest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
integration-gate:
3232
name: "IntegrationTest"
3333
needs: "integration-test"
34-
if: "${{ always() }}"
34+
if: "${{ always() && needs.integration-test.result != 'skipped' }}"
3535
runs-on: "ubuntu-latest"
3636
steps:
3737
- name: "Fail if any downstream integration test failed"

.github/workflows/Tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
tests-gate:
4444
name: "Tests"
4545
needs: "tests"
46-
if: "${{ always() }}"
46+
if: "${{ always() && needs.tests.result != 'skipped' }}"
4747
runs-on: "ubuntu-latest"
4848
steps:
4949
- name: "Fail if any matrix leg failed"

0 commit comments

Comments
 (0)