Skip to content

Overhaul

Overhaul #1055

Workflow file for this run

name: Runtests
on:
push:
branches:
- 'master'
tags: '*'
pull_request:
env:
JULIA_NUM_THREADS: 4
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1'] # Can also add 'nightly'
julia-arch: [x64]
os: [ubuntu-latest]
include:
# Add a few windows and macOS jobs
- julia-version: '1'
os: macOS-latest
- julia-version: '1'
os: windows-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
with:
depwarn: error
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
file: lcov.info