Skip to content

Commit a2226fc

Browse files
committed
Update CompatHelper, add IntegrationTest
1 parent f7e162f commit a2226fc

File tree

2 files changed

+32
-10
lines changed

2 files changed

+32
-10
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: CompatHelper
1+
name: "CompatHelper"
2+
23
on:
34
schedule:
45
- cron: 0 0 * * *
56
workflow_dispatch:
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
611
jobs:
712
CompatHelper:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Pkg.add("CompatHelper")
11-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12-
- name: CompatHelper.main()
13-
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15-
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16-
run: julia -e 'using CompatHelper; CompatHelper.main()'
13+
name: "CompatHelper"
14+
uses: "ITensor/ITensorActions/.github/workflows/CompatHelper.yml@main"
15+
with:
16+
local-registry-urls: "https://github.com/ITensor/ITensorRegistry.git"

.github/workflows/IntegrationTest.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "IntegrationTest"
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
tags: '*'
8+
pull_request:
9+
10+
jobs:
11+
integration-test:
12+
name: "IntegrationTest"
13+
strategy:
14+
matrix:
15+
repo:
16+
- 'ITensor/NamedDimsArrays.jl'
17+
- 'ITensor/ITensorBase.jl'
18+
- 'ITensor/QuantumOperatorDefinitions.jl'
19+
uses: "ITensor/ITensorActions/.github/workflows/IntegrationTest.yml@main"
20+
with:
21+
local-registry-urls: "https://github.com/ITensor/ITensorRegistry.git"
22+
repo: "${{ matrix.repo }}"

0 commit comments

Comments
 (0)