Skip to content

Commit

Permalink
Skip building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed May 8, 2024
1 parent d7cb3e5 commit a80c312
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,34 +55,34 @@ jobs:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
docs:
name: Documentation
runs-on: ubuntu-latest
permissions:
actions: write # needed to allow julia-actions/cache to proactively delete old caches that it has created
contents: write
statuses: write
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
- name: Configure doc environment
shell: julia --project=docs --color=yes {0}
run: |
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
- name: Run doctests
shell: julia --project=docs --color=yes {0}
run: |
using Documenter: DocMeta, doctest
using ITensorMakie
DocMeta.setdocmeta!(ITensorMakie, :DocTestSetup, :(using ITensorMakie); recursive=true)
doctest(ITensorMakie)
## docs:
## name: Documentation
## runs-on: ubuntu-latest
## permissions:
## actions: write # needed to allow julia-actions/cache to proactively delete old caches that it has created
## contents: write
## statuses: write
## steps:
## - uses: actions/checkout@v4
## - uses: julia-actions/setup-julia@v2
## with:
## version: '1'
## - uses: julia-actions/cache@v2
## - name: Configure doc environment
## shell: julia --project=docs --color=yes {0}
## run: |
## using Pkg
## Pkg.develop(PackageSpec(path=pwd()))
## Pkg.instantiate()
## - uses: julia-actions/julia-buildpkg@v1
## - uses: julia-actions/julia-docdeploy@v1
## env:
## GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
## DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
## - name: Run doctests
## shell: julia --project=docs --color=yes {0}
## run: |
## using Documenter: DocMeta, doctest
## using ITensorMakie
## DocMeta.setdocmeta!(ITensorMakie, :DocTestSetup, :(using ITensorMakie); recursive=true)
## doctest(ITensorMakie)

0 comments on commit a80c312

Please sign in to comment.