Skip to content

Merge pull request #84 from CliMA/Yujie-W-patch-1 #217

Merge pull request #84 from CliMA/Yujie-W-patch-1

Merge pull request #84 from CliMA/Yujie-W-patch-1 #217

Workflow file for this run

name: JuliaStable
on:
push:
branches:
- main
- staging
- trying
pull_request:
jobs:
test:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- name: Set up Actions
uses: actions/checkout@v1
- name: Set up Julia
uses: julia-actions/setup-julia@v1
with:
version: "1"
- name: Install Dependencies for Linux
if: runner.os == 'Linux'
run: julia --project -e 'ENV["PYTHON"]=""; using Pkg; Pkg.instantiate();'
- name: Install Dependencies for Windows and Mac-OS
if: runner.os != 'Linux'
run: julia --project -e 'using Pkg; Pkg.instantiate();'
- name: Run Tests
uses: julia-actions/julia-runtest@latest
- name: Process Coverage
if: runner.os == 'Linux'
uses: julia-actions/julia-processcoverage@v1
- name: Submit Coverage
if: runner.os == 'Linux'
uses: codecov/codecov-action@v1
with:
file: lcov.info