Skip to content

Update docs building and actions #64

Update docs building and actions

Update docs building and actions #64

Workflow file for this run

name: Unit test
on:
create:
tags:
push:
branches:
- master
paths-ignore:
- 'LICENSE.md'
- 'README.md'
- '.github/workflows/TagBot.yml'
pull_request:
paths-ignore:
- 'LICENSE.md'
- 'README.md'
- '.github/workflows/TagBot.yml'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
# allow-failure is not supported yet
# https://github.com/actions/toolkit/issues/399
fail-fast: false
matrix:
julia-version: ['1.0', '1.6', '1']
os: [ubuntu-latest, windows-latest, macOS-latest]
julia-arch: [x64]
# only test one 32-bit job
include:
- julia-version: '1'
os: ubuntu-latest
julia-arch: x86
steps:
- uses: actions/checkout@v4
- name: "Set up Julia"
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- name: Cache artifacts
uses: julia-actions/cache@v2
- name: "Unit Test"
uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}