Skip to content

v1.2.2+docs1

v1.2.2+docs1 #83

Workflow file for this run

name: CI
on:
push:
branches:
- master # update to match your development branch (master, main, dev, trunk, ...)
tags: ['*']
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.7', '1.8', '1.9']
julia-arch: [x64]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v3
- name: Setup Julia
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- name: Build package
uses: julia-actions/julia-buildpkg@v1
- name: Run unit tests
uses: julia-actions/julia-runtest@v1
with:
annotate: true
- name: Process code coverage
uses: julia-actions/julia-processcoverage@v1
- name: Upload code coverage report to Codecov
uses: codecov/codecov-action@v3
with:
files: lcov.info
docs:
name: Documentation
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: '1.9'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
# the next env variable is required here for the GR backend of Plots.jl to be able to work in headless mode while generating documentation
GKSwstype: "100" # https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988
run: julia --project=docs/ docs/make.jl