Skip to content

Support manually closing and lmp instance #50

Support manually closing and lmp instance

Support manually closing and lmp instance #50

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.8"
shell: bash

Check failure on line 17 in .github/workflows/Documentation.yml

View workflow run for this annotation

GitHub Actions / Documentation

Invalid workflow file

The workflow is not valid. .github/workflows/Documentation.yml (Line: 17, Col: 9): Unexpected value 'shell'
- 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 }}