Skip to content

Update compatibilities #899

Update compatibilities

Update compatibilities #899

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Documentation
on:
push:
branches: [main]
tags: '*'
pull_request:
jobs:
Documenter:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-docs-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-docs-${{ env.cache-name }}-
${{ runner.os }}-docs-
- name: Add registries
run: |
using Pkg
Pkg.Registry.add(RegistrySpec(url="https://github.com/NQCD/NQCRegistry"))
Pkg.Registry.add(RegistrySpec(url="https://github.com/JuliaMolSim/MolSim"))
Pkg.Registry.add(RegistrySpec(name="General"))
shell: julia {0}
- name: Install ase
run: python3 -m pip install ase
- name: Dev dependencies
run: |
using Pkg
Pkg.develop([(;path=pwd()), (;name="NQCModels")])
Pkg.instantiate()
shell: julia --project=docs/ {0}
- uses: julia-actions/julia-docdeploy@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GKSwstype: "100" # https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988