Skip to content

Commit 63f4e14

Browse files
authored
Merge pull request #193 from JuliaAI/dev
Add document generation to ci
2 parents 7857aec + 6a09fca commit 63f4e14

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,22 @@ jobs:
4545
- uses: codecov/codecov-action@v1
4646
with:
4747
file: lcov.info
48+
docs:
49+
name: Documentation
50+
runs-on: ubuntu-latest
51+
steps:
52+
- uses: actions/checkout@v2
53+
- uses: julia-actions/setup-julia@v1
54+
with:
55+
version: '1'
56+
- uses: julia-actions/julia-buildpkg@v1
57+
- uses: julia-actions/julia-docdeploy@v1
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
61+
- run: |
62+
julia --project=docs -e '
63+
using Documenter: DocMeta, doctest
64+
using MLJModelInterface
65+
DocMeta.setdocmeta!(MLJModelInterface, :DocTestSetup, :(using MLJModelInterface); recursive=true)
66+
doctest(MLJModelInterface)'

0 commit comments

Comments
 (0)