diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 11df728..2d76808 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -66,8 +66,35 @@ jobs: git config --global user.name Tester git config --global user.email te@st.er - uses: julia-actions/julia-runtest@latest - #- uses: julia-actions/julia-processcoverage@v1 - #- uses: codecov/codecov-action@v2 - # with: - # files: lcov.info + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v2 + with: + files: lcov.info + + docs: + name: Documentation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: '1' + - run: | + git config --global user.name name + git config --global user.email email + git config --global github.user username + - run: | + julia --project=docs -e ' + using Pkg + Pkg.develop(PackageSpec(path=pwd())) + Pkg.instantiate()' + - run: | + julia --project=docs -e ' + using Documenter: doctest + using PkgTemplates + doctest(PkgTemplates)' + - run: julia --project=docs docs/make.jl + env: + JULIA_PKG_SERVER: "" + GITHUB_TOKEN: ${{ secrets.GITH