Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: "CompatHelper"

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
- cron: "0 0 * * *"
workflow_dispatch: ~
permissions:
contents: write
pull-requests: write

contents: "write"
pull-requests: "write"
jobs:
compat-helper:
name: "CompatHelper"
Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
name: "Documentation"

on:
push:
branches:
- main
tags: '*'
pull_request:
- "main"
tags: "*"
pull_request: ~
schedule:
- cron: '1 4 * * 4'

- cron: "1 4 * * 4"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}

group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: "${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}"
jobs:
build-and-deploy-docs:
name: "Documentation"
uses: "ITensor/ITensorActions/.github/workflows/Documentation.yml@main"
with:
localregistry: https://github.com/ITensor/ITensorRegistry.git
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
18 changes: 10 additions & 8 deletions .github/workflows/FormatCheck.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: "Format Check"

on:
pull_request_target:
paths: ['**/*.jl']
types: [opened, synchronize, reopened, ready_for_review]

paths:
- "**/*.jl"
types:
- "opened"
- "synchronize"
- "reopened"
- "ready_for_review"
permissions:
contents: read
actions: write
pull-requests: write

contents: "read"
actions: "write"
pull-requests: "write"
jobs:
format-check:
name: "Format Check"
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/FormatPullRequest.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: "Format Pull Request"

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
- cron: "0 0 * * *"
workflow_dispatch: ~
permissions:
contents: write
pull-requests: write

contents: "write"
pull-requests: "write"
jobs:
format-pull-request:
name: "Format Pull Request"
Expand Down
29 changes: 16 additions & 13 deletions .github/workflows/IntegrationTest.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
name: "IntegrationTest"

on:
push:
branches:
- 'main'
tags: '*'
- "main"
tags: "*"
paths:
- 'Project.toml'
- "Project.toml"
pull_request:
types: [opened, synchronize, reopened, ready_for_review, converted_to_draft]
types:
- "opened"
- "synchronize"
- "reopened"
- "ready_for_review"
- "converted_to_draft"
paths:
- 'Project.toml'

- "Project.toml"
jobs:
integration-test:
name: "IntegrationTest"
strategy:
matrix:
pkg:
- 'BlockSparseArrays'
- 'DiagonalArrays'
- 'FusionTensors'
- 'GradedArrays'
matrix:
pkg:
- "BlockSparseArrays"
- "DiagonalArrays"
- "FusionTensors"
- "GradedArrays"
uses: "ITensor/ITensorActions/.github/workflows/IntegrationTest.yml@main"
with:
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/IntegrationTestRequest.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: "Integration Test Request"

on:
issue_comment:
types: [created]

types:
- "created"
jobs:
integrationrequest:
if: |
github.event.issue.pull_request &&
contains(fromJSON('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association)
uses: ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@main

uses: "ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@main"
with:
localregistry: https://github.com/ITensor/ITensorRegistry.git
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
10 changes: 4 additions & 6 deletions .github/workflows/LiterateCheck.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: "Literate Check"

on:
push:
branches:
- 'main'
tags: '*'
pull_request:

- "main"
tags: "*"
pull_request: ~
jobs:
literate:
name: "Literate Check"
uses: "ITensor/ITensorActions/.github/workflows/LiterateCheck.yml@main"
with:
localregistry: https://github.com/ITensor/ITensorRegistry.git
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
21 changes: 9 additions & 12 deletions .github/workflows/Registrator.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
name: Register Package

name: "Register Package"
on:
workflow_dispatch:
workflow_dispatch: ~
push:
branches:
- 'master'
- 'main'
- "master"
- "main"
paths:
- 'Project.toml'

- "Project.toml"
permissions:
contents: write
pull-requests: write

contents: "write"
pull-requests: "write"
jobs:
Register:
uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main"
with:
localregistry: ITensor/ITensorRegistry
localregistry: "ITensor/ITensorRegistry"
secrets:
REGISTRATOR_KEY: ${{ secrets.REGISTRATOR_KEY }}
REGISTRATOR_KEY: "${{ secrets.REGISTRATOR_KEY }}"
20 changes: 9 additions & 11 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: TagBot

name: "TagBot"
on:
issue_comment:
types:
- created
workflow_dispatch:

- "created"
workflow_dispatch: ~
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
if: "github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'"
runs-on: "ubuntu-latest"
steps:
- uses: JuliaRegistries/TagBot@v1
- uses: "JuliaRegistries/TagBot@v1"
with:
token: ${{ secrets.GITHUB_TOKEN }}
registry: ITensor/ITensorRegistry
ssh: ${{ secrets.DOCUMENTER_KEY }}
token: "${{ secrets.GITHUB_TOKEN }}"
registry: "ITensor/ITensorRegistry"
ssh: "${{ secrets.DOCUMENTER_KEY }}"
46 changes: 22 additions & 24 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,42 @@
name: Tests

name: "Tests"
on:
push:
branches:
- 'master'
- 'main'
- 'release-'
tags: '*'
- "master"
- "main"
- "release-"
tags: "*"
paths-ignore:
- 'docs/**'
- "docs/**"
pull_request:
types: [opened, synchronize, reopened, ready_for_review, converted_to_draft]
workflow_dispatch:

types:
- "opened"
- "synchronize"
- "reopened"
- "ready_for_review"
- "converted_to_draft"
workflow_dispatch: ~
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# Cancel intermediate builds: only if it is a pull request build.
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}"
jobs:
tests:
name: "Tests"
strategy:
fail-fast: false
matrix:
version:
- 'lts' # minimal supported version
- '1' # latest released Julia version
# group:
# - 'core'
# - 'optional'
- "lts"
- "1"
os:
- ubuntu-latest
- macOS-latest
- windows-latest
- "ubuntu-latest"
- "macOS-latest"
- "windows-latest"
uses: "ITensor/ITensorActions/.github/workflows/Tests.yml@main"
with:
group: "${{ matrix.group }}"
julia-version: "${{ matrix.version }}"
os: "${{ matrix.os }}"
localregistry: https://github.com/ITensor/ITensorRegistry.git
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
6 changes: 2 additions & 4 deletions .github/workflows/VersionCheck.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: "Version Check"

on:
pull_request:

pull_request: ~
jobs:
version-check:
name: "Version Check"
uses: "ITensor/ITensorActions/.github/workflows/VersionCheck.yml@main"
with:
localregistry: https://github.com/ITensor/ITensorRegistry.git
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "SparseArraysBase"
uuid = "0d5efcca-f356-4864-8770-e1ed8d78f208"
version = "0.9.4"
version = "0.9.5"
authors = ["ITensor developers <support@itensor.org> and contributors"]

[workspace]
Expand Down
Loading