Skip to content

links

links #531

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
tags: '*'
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.8.5'
- '1'
- 'nightly'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
include:
- os: ubuntu-latest
version: '1'
arch: x86
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
show-versioninfo: true
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
file: lcov.info
- name: Submit coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: lcov.info
docs:
name: 'Documentation: ${{ matrix.format }}'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
format:
- html
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: '1.8'
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- name: Build package
run: julia -e 'ENV["MADS_TRAVIS"]=""; ENV["MADS_NO_PYTHON"]=""; ENV["MADS_NO_PLOT"]=""; import Pkg; Pkg.build("Mads"; verbose=true);
env:
MADS_NO_PYTHON: ""
MADS_NO_PLOT: ""
- name: Instrantiate package
run: julia --project=docs/ -e 'import Pkg; Pkg.develop(Pkg.PackageSpec(path=pwd())); Pkg.instantiate()'
env:
MADS_NO_PYTHON: ""
MADS_NO_PLOT: ""
- name: Build the documentaiton
run: julia --color=yes --project=docs/ docs/make.jl
env:
MADS_NO_PYTHON: ""
MADS_NO_PLOT: ""
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}