Skip to content

Commit

Permalink
Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Dec 14, 2023
1 parent d780e97 commit 9052b64
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/ClimaAnalysis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: ClimaAnalysis CI
on:
pull_request:
push:
branches:
- main

jobs:
lib-climaanalysis:
runs-on: ubuntu-20.04
climaanalysis:
runs-on: ubuntu-latest
strategy:
matrix:
version:
Expand All @@ -13,11 +16,11 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
- uses: actions/cache@v1
- uses: actions/cache@v3
env:
cache-name: cache-artifacts
with:
Expand All @@ -27,8 +30,16 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- name: Build package
continue-on-error: true
run: julia --project=lib/ClimaAnalysis/test -e "using Pkg; Pkg.develop(path=\"lib/ClimaAnalysis\"); Pkg.instantiate()"
- name: Run the tests
run: julia --project=lib/ClimaAnalysis/test lib/ClimaAnalysis/test/runtests.jl
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@latest
- uses: codecov/codecov-action@v3
with:
verbose: true
files: lcov.info

# - name: Build package
# continue-on-error: true
# run: julia --project=lib/ClimaAnalysis/test -e "using Pkg; Pkg.develop(path=\"lib/ClimaAnalysis\"); Pkg.instantiate()"
# - name: Run the tests
# run: julia --project=test lib/ClimaAnalysis/test/runtests.jl

0 comments on commit 9052b64

Please sign in to comment.