Skip to content

make extract_atom, extract_global, and gather typestable #169

make extract_atom, extract_global, and gather typestable

make extract_atom, extract_global, and gather typestable #169

Workflow file for this run

name: Documentation
on:
pull_request:
push:
branches:
- main
tags: "*"
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: "1"
- name: instantiate docs
run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
'
- name: run doctests
run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using LAMMPS
DocMeta.setdocmeta!(LAMMPS, :DocTestSetup, :(using LAMMPS); recursive=true)
doctest(LAMMPS)
'
- name: generate docs
run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}