-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (46 loc) · 1.23 KB
/
IntegrationTest.yml
File metadata and controls
47 lines (46 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: "IntegrationTest"
on:
push:
branches:
- "main"
tags: "*"
paths:
- "Project.toml"
pull_request:
types:
- "opened"
- "synchronize"
- "reopened"
- "ready_for_review"
- "converted_to_draft"
paths:
- "Project.toml"
jobs:
integration-test:
name: "IntegrationTest"
strategy:
matrix:
pkg:
- "BlockSparseArrays"
- "DiagonalArrays"
- "ITensorBase"
- "ITensorNetworksNext"
- "KroneckerArrays"
- "NamedDimsArrays"
- "SparseArraysBase"
- "TensorAlgebra"
uses: "ITensor/ITensorActions/.github/workflows/IntegrationTest.yml@main"
secrets: "inherit"
with:
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
pkg: "${{ matrix.pkg }}"
integration-gate:
name: "IntegrationTest"
needs: "integration-test"
if: "${{ always() && needs.integration-test.result != 'skipped' }}"
runs-on: "ubuntu-latest"
steps:
- name: "Fail if any downstream integration test failed"
run: |
echo "integration-test.result = ${{ needs.integration-test.result }}"
test "${{ needs.integration-test.result }}" = "success"