diff --git a/.github/workflows/AddITensorRegistry.yml b/.github/workflows/AddITensorRegistry.yml new file mode 100644 index 0000000..08c59d2 --- /dev/null +++ b/.github/workflows/AddITensorRegistry.yml @@ -0,0 +1,14 @@ +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: "1" + - uses: julia-actions/cache@v2 + - uses: julia-actions/add-julia-registry@v2 + with: + registry: ITensor/ITensorRegistry + ssh-key: ${{ secrets.DOCUMENTER_KEY }} + - uses: julia-actions/julia-runtest@v1 diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index cba9134..683c6a6 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -13,4 +13,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} - run: julia -e 'using CompatHelper; CompatHelper.main()' + run: julia -e 'using CompatHelper; CompatHelper.main(; use_existing_registries=true)' diff --git a/templates/github/.github/workflows/AddITensorRegistry.yml b/templates/github/.github/workflows/AddITensorRegistry.yml new file mode 100644 index 0000000..08c59d2 --- /dev/null +++ b/templates/github/.github/workflows/AddITensorRegistry.yml @@ -0,0 +1,14 @@ +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: "1" + - uses: julia-actions/cache@v2 + - uses: julia-actions/add-julia-registry@v2 + with: + registry: ITensor/ITensorRegistry + ssh-key: ${{ secrets.DOCUMENTER_KEY }} + - uses: julia-actions/julia-runtest@v1 diff --git a/templates/github/.github/workflows/CompatHelper.yml b/templates/github/.github/workflows/CompatHelper.yml index cba9134..683c6a6 100644 --- a/templates/github/.github/workflows/CompatHelper.yml +++ b/templates/github/.github/workflows/CompatHelper.yml @@ -13,4 +13,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} - run: julia -e 'using CompatHelper; CompatHelper.main()' + run: julia -e 'using CompatHelper; CompatHelper.main(; use_existing_registries=true)'