Skip to content

Set version to 0.1.0 #65

Set version to 0.1.0

Set version to 0.1.0 #65

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
tags: '*'
pull_request:
jobs:
build:
name: Documentation
runs-on: ubuntu-latest
permissions:
contents: write
statuses: write
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
- name: Configure doc environment
run: |
julia --project=docs/ -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
Pkg.build()
Pkg.precompile()'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GKSwstype: 100
- name: Doctests
run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using ChargedParticleDynamics
DocMeta.setdocmeta!(ChargedParticleDynamics, :DocTestSetup, :(using ChargedParticleDynamics); recursive=true)
doctest(ChargedParticleDynamics)'