File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : fix_doctests
2
+ on :
3
+ pull_request:
4
+ jobs :
5
+ doctests:
6
+ name: Fix doctests (Julia ${{ matrix.julia-version }} - ${{ github.event_name }})
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ julia-version: [1.6]
11
+ steps:
12
+ - uses: julia-actions/setup-julia@latest
13
+ with:
14
+ version: ${{ matrix.julia-version }}
15
+ - uses: actions/checkout@v1
16
+ - name: Fix doctests
17
+ shell: julia --project=docs/ {0}
18
+ run : |
19
+ using Pkg:Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
20
+ using Documenter
21
+ using ChainRulesTestUtils
22
+ doctest(ChainRulesTestUtils, fix=true)
23
+ - uses: reviewdog/action-suggester@v1
24
+ if: github.event_name == 'pull_request'
25
+ with:
26
+ tool_name: Documenter (fix doctests)
27
+ fail_on_error: true
You can’t perform that action at this time.
0 commit comments