Skip to content

Commit

Permalink
enable coverage and docs in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Aug 19, 2022
1 parent bc85198 commit 8e18ba0
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,35 @@ jobs:
git config --global user.name Tester
git config --global user.email [email protected]
- 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

0 comments on commit 8e18ba0

Please sign in to comment.