File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed
Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -143,24 +143,22 @@ jobs:
143143 with :
144144 version : ' 1'
145145 - uses : julia-actions/cache@v2
146- - run : |
146+ - name : Instantiate docs environment
147+ run : |
147148 julia --color=yes --project=docs -e '
148149 using Pkg
149- Pkg.develop([
150- PackageSpec(path=pwd()),
151- PackageSpec("Reactant_jll"),
152- PackageSpec(path="lib/ReactantCore")
153- ])
154150 Pkg.instantiate()'
155151 env :
156152 JULIA_PKG_SERVER_REGISTRY_PREFERENCE : eager
157- - run : |
153+ - name : Run doctests
154+ run : |
158155 julia --color=yes --project=docs -e '
159156 using Documenter: DocMeta, doctest
160157 using Reactant
161158 DocMeta.setdocmeta!(Reactant, :DocTestSetup, :(using Reactant); recursive=true)
162159 doctest(Reactant)'
163- - run : julia --color=yes --project=docs docs/make.jl
160+ - name : Build documentation
161+ run : julia --color=yes --project=docs docs/make.jl
164162 env :
165163 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
166164 DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change 22Documenter = " e30172f5-a6a5-5a46-863b-614d45cd2de4"
33DocumenterVitepress = " 4710194d-e776-4893-9690-8d956a29c365"
44Literate = " 98b081ad-f1c9-55d3-8b20-4c87d4299306"
5+ Reactant = " 3c362404-f566-11ee-1572-e11a4b42c853"
6+ ReactantCore = " a3311ec8-5e00-46d5-b541-4f83e724a433"
57Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
68
79[compat ]
810Documenter = " 1.4.1"
11+
12+ [sources ]
13+ Reactant = {path = " .." }
14+ ReactantCore = {path = " ../lib/ReactantCore" }
Original file line number Diff line number Diff line change 1- pushfirst! (LOAD_PATH , joinpath (@__DIR__ , " .." ))
2- pushfirst! (LOAD_PATH , joinpath (@__DIR__ , " ../lib/ReactantCore/" ))
3-
41using Reactant, ReactantCore
52using Documenter, DocumenterVitepress
63
You can’t perform that action at this time.
0 commit comments