Skip to content

update to ClimaLand v0.8 (name change) #1971

update to ClimaLand v0.8 (name change)

update to ClimaLand v0.8 (name change) #1971

Workflow file for this run

name: Code Coverage
on:
push:
tags: '*'
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Julia
uses: julia-actions/setup-julia@latest
with:
version: '1.10'
- name: Test with coverage
run: |
julia --project -e 'using Pkg; Pkg.instantiate()'
julia --project -e 'using Pkg; Pkg.test(coverage=true)'
- name: Generate coverage file
run: julia --project -e 'using Pkg; Pkg.add("Coverage");
using Coverage;
LCOV.writefile("coverage-lcov.info", Codecov.process_folder())'
if: success()
- name: Submit coverage
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
if: success()