Skip to content

Commit bbd91ad

Browse files
committed
Add documentation ci
1 parent 3ccbf1f commit bbd91ad

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.github/workflows/CI.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
arch:
2525
- x64
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v5
2828
- uses: julia-actions/setup-julia@v1
2929
with:
3030
version: ${{ matrix.version }}
@@ -35,4 +35,26 @@ jobs:
3535
- uses: julia-actions/julia-processcoverage@v1
3636
- uses: codecov/codecov-action@v1
3737
with:
38-
file: lcov.info
38+
file: lcov.info
39+
40+
docs:
41+
name: Documentation
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: actions/checkout@v5
45+
- uses: julia-actions/setup-julia@v2
46+
with:
47+
version: '1'
48+
- run: |
49+
julia --project=docs -e '
50+
using Pkg
51+
Pkg.develop(PackageSpec(path=pwd()))
52+
Pkg.instantiate()'
53+
- run: |
54+
julia --project=docs -e '
55+
using Documenter: DocMeta, doctest
56+
using LinearOperatorCollection'
57+
- run: julia --project=docs docs/make.jl
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)