Skip to content

Commit

Permalink
test for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsmierz committed Jan 23, 2025
1 parent ae356ed commit 9389314
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 57 deletions.
42 changes: 19 additions & 23 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,12 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6'
- 'lts'
- 1.11
- 'pre'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
exclude:
- version: '1.6'
os: macOS-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand All @@ -45,21 +41,21 @@ jobs:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false # or true if you want CI to fail when Codecov fails
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: 'lts'
- run: |
julia --project=docs -e '
import Pkg; Pkg.add("Documenter")
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
# docs:
# name: Documentation
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: julia-actions/setup-julia@v2
# with:
# version: '1.11'
# - run: |
# julia --project=docs -e '
# import Pkg; Pkg.add("Documenter")
# using Pkg
# Pkg.develop(PackageSpec(path=pwd()))
# Pkg.instantiate()'
# - run: julia --project=docs docs/make.jl
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
31 changes: 0 additions & 31 deletions .github/workflows/Documenter.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
version: '1.11'
- uses: julia-actions/cache@v2
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
Expand Down
4 changes: 2 additions & 2 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ SpinGlassPEPS = "2c514f87-1261-494e-8566-326879aaf4fe"
SpinGlassTensors = "7584fc6a-5a23-4eeb-8277-827aab0146ea"

[compat]
Documenter = "1.4.0"
DocumenterTools = "0.1.19"
Documenter = "1.8.0"
DocumenterTools = "0.1.20"
Graphs = "1.9.0"
LabelledGraphs = "0.4.4"
MetaGraphs = "0.7.2"
Expand Down

0 comments on commit 9389314

Please sign in to comment.