File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 11name : CI
2+
23on :
34 pull_request :
45 push :
56 branches :
67 - master
78 - main
89 tags : ' *'
10+
911jobs :
1012 test :
1113 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1719 - ' 1.0'
1820 - ' 1.6'
1921 - ' 1'
20- # - 'nightly'
22+ # - 'nightly'
2123 os :
2224 - ubuntu-latest
2325 - macOS-latest
@@ -51,14 +53,30 @@ jobs:
5153 name : Documentation
5254 runs-on : ubuntu-latest
5355 permissions :
56+ actions : write # needed to allow julia-actions/cache to proactively delete old caches that it has created
5457 contents : write
58+ statuses : write
5559 steps :
5660 - uses : actions/checkout@v4
5761 - uses : julia-actions/setup-julia@v1
5862 with :
5963 version : ' 1'
6064 show-versioninfo : true
65+ - uses : julia-actions/cache@v1
66+ - name : Configure doc environment
67+ shell : julia --project=docs --color=yes {0}
68+ run : |
69+ using Pkg
70+ Pkg.develop(PackageSpec(path=pwd()))
71+ Pkg.instantiate()
6172 - uses : julia-actions/julia-buildpkg@v1
73+ - name : Run doctests
74+ shell : julia --project=docs --color=yes {0}
75+ run : |
76+ using Documenter: DocMeta, doctest
77+ using Combinatorics
78+ DocMeta.setdocmeta!(Combinatorics, :DocTestSetup, :(using Combinatorics); recursive=true)
79+ doctest(Combinatorics)
6280 - uses : julia-actions/julia-docdeploy@v1
6381 env :
6482 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments