Skip to content

Merge pull request #3 from BoundaryValueProblems/master #14

Merge pull request #3 from BoundaryValueProblems/master

Merge pull request #3 from BoundaryValueProblems/master #14

Workflow file for this run

# Generated using the wonderful PkgTemplates.jl and altered slightly
name: CI
on:
workflow_dispatch: #get a button to trigger it by hand
push:
paths: # run CI/CD when the tests change, the dependencies change, or the version changes
- test/runtests.jl
- Project.toml
pull_request: # run when pull requests are made
paths:
- src/*
- test/runtests.jl
- Manifest.toml
- Project.toml
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- "1.7"
os:
- ubuntu-latest
- macOS-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
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@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info