Skip to content

Commit 8fed13d

Browse files
committed
fix doctest check
1 parent 2ff97e5 commit 8fed13d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,9 @@ jobs:
141141
version: "1.9"
142142
- uses: julia-actions/julia-buildpkg@v1
143143
- name: Set up documentation environment
144-
run: |
145-
using Pkg
146-
Pkg.instantiate()
147-
shell: julia --color=yes --project=docs/ {0}
144+
run: make docs-manifest
148145
- name: Check doctests
149-
run: julia --color=yes --project=docs/ --code-coverage docs/make.jl --doctest
146+
run: make check-doctests
150147
- uses: julia-actions/julia-processcoverage@v1
151148
- uses: codecov/codecov-action@v5
152149
with:

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ docs: docs/Manifest.toml
2020
fix-doctests: docs/Manifest.toml
2121
${JULIA} --project=docs/ docs/make.jl --fix-doctests
2222

23+
check-doctests: docs/Manifest.toml
24+
${JULIA} --project=docs/ docs/make.jl --doctest
25+
2326
changelog:
2427
${JULIA} --project=docs/ docs/changelog.jl
2528

0 commit comments

Comments
 (0)