File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,29 @@ jobs:
62
62
using Pkg
63
63
Pkg.develop(PackageSpec(path=pwd()))
64
64
Pkg.instantiate()'
65
- # - run: |
66
- # julia --project=docs -e '
67
- # using Documenter: doctest
68
- # using LoopVectorization
69
- # doctest(LoopVectorization)'
70
65
- run : julia --project=docs docs/make.jl
71
66
env :
72
67
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73
68
DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
69
+ doctests :
70
+ name : Doctests
71
+ runs-on : ubuntu-latest
72
+ steps :
73
+ - uses : actions/checkout@v2
74
+ - uses : julia-actions/setup-julia@v1
75
+ with :
76
+ version : ' nightly'
77
+ - run : julia --color=yes -e 'using Pkg; VERSION >= v"1.5-" && !isdir(joinpath(DEPOT_PATH[1], "registries", "General")) && Pkg.Registry.add("General")'
78
+ shell : bash
79
+ env :
80
+ JULIA_PKG_SERVER : " "
81
+ - run : |
82
+ julia --project=docs -e '
83
+ using Pkg
84
+ Pkg.develop(PackageSpec(path=pwd()))
85
+ Pkg.instantiate()'
86
+ - run : |
87
+ julia --project=docs -e '
88
+ using Documenter: doctest
89
+ using LoopVectorization
90
+ doctest(LoopVectorization)'
You can’t perform that action at this time.
0 commit comments