File tree Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 63
63
- uses : julia-actions/julia-processcoverage@v1
64
64
- uses : codecov/codecov-action@v5
65
65
with :
66
- file : lcov.info
66
+ token : ${{ secrets.CODECOV_TOKEN }}
67
67
68
68
aqua :
69
69
name : Aqua
@@ -129,7 +129,7 @@ jobs:
129
129
- uses : julia-actions/julia-processcoverage@v1
130
130
- uses : codecov/codecov-action@v5
131
131
with :
132
- file : lcov.info
132
+ token : ${{ secrets.CODECOV_TOKEN }}
133
133
134
134
doctest :
135
135
name : Doctest
@@ -138,17 +138,15 @@ jobs:
138
138
- uses : actions/checkout@v4
139
139
- uses : julia-actions/setup-julia@v2
140
140
with :
141
- version : " 1.9"
141
+ # we'll restrict doctests to a minor version, to avoid failures due
142
+ # to printing differences between Julia (minor) versions
143
+ version : " 1.11"
142
144
- uses : julia-actions/julia-buildpkg@v1
143
145
- name : Set up documentation environment
144
- run : |
145
- using Pkg
146
- Pkg.develop(path=".")
147
- Pkg.instantiate()
148
- shell : julia --color=yes --project=docs/ {0}
146
+ run : make docs-manifest
149
147
- name : Check doctests
150
- run : julia --color=yes --project=docs/ --code-coverage docs/ make.jl --doctest
148
+ run : make check-doctests
151
149
- uses : julia-actions/julia-processcoverage@v1
152
150
- uses : codecov/codecov-action@v5
153
151
with :
154
- file : lcov.info
152
+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 8
8
9
9
docs/Manifest.toml : docs/Project.toml
10
10
@echo " Instantiating the docs/ environment:"
11
- ${JULIA} --color=yes --project=docs/ -e ' using Pkg; Pkg.develop(path="."); Pkg. instantiate()'
11
+ ${JULIA} --color=yes --project=docs/ -e ' using Pkg; Pkg.instantiate()'
12
12
13
13
docs-manifest :
14
14
rm -f docs/Manifest.toml
@@ -20,6 +20,9 @@ docs: docs/Manifest.toml
20
20
fix-doctests : docs/Manifest.toml
21
21
${JULIA} --project=docs/ docs/make.jl --fix-doctests
22
22
23
+ check-doctests : docs/Manifest.toml
24
+ ${JULIA} --project=docs/ docs/make.jl --doctest
25
+
23
26
changelog :
24
27
${JULIA} --project=docs/ docs/changelog.jl
25
28
Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ URIs = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
12
12
Changelog = " 1"
13
13
Documenter = " 1"
14
14
DocumenterMermaid = " 0.1"
15
+
16
+ [sources ]
17
+ JuliaHub = { path = " .." }
You can’t perform that action at this time.
0 commit comments