Skip to content

Commit 4a4622d

Browse files
authored
Add gates in test workflows (#117)
1 parent 368a3e2 commit 4a4622d

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/IntegrationTest.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,13 @@ jobs:
2929
with:
3030
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
3131
pkg: "${{ matrix.pkg }}"
32+
integration-gate:
33+
name: IntegrationTest
34+
needs: integration-test
35+
if: ${{ always() }}
36+
runs-on: ubuntu-latest
37+
steps:
38+
- name: Fail if any downstream integration test failed
39+
run: |
40+
echo "integration-test.result = ${{ needs['integration-test'].result }}"
41+
test "${{ needs['integration-test'].result }}" = "success"

.github/workflows/Tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,13 @@ 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"

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "SparseArraysBase"
22
uuid = "0d5efcca-f356-4864-8770-e1ed8d78f208"
3-
version = "0.9.8"
3+
version = "0.9.9"
44
authors = ["ITensor developers <support@itensor.org> and contributors"]
55

66
[workspace]

0 commit comments

Comments
 (0)