Skip to content

Update ci.yml

Update ci.yml #112

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
os: ubuntu-latest
- run: |
julia --project=docs -e '
import Pkg; Pkg.add("Documenter")
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
import Pkg; Pkg.add("Documenter")
using Documenter: doctest
using FewSpecialFunctions
doctest(FewSpecialFunctions)'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}