Skip to content

Commit

Permalink
Merge pull request #2056 from CliMA/js/downstream
Browse files Browse the repository at this point in the history
add ClimaCoupler downstream AMIP test
  • Loading branch information
juliasloan25 authored Oct 22, 2024
2 parents f64dc58 + f0022db commit 7297f5d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/Downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ jobs:
- 'KinematicDriver.jl'
- 'ClimaDiagnostics.jl'
- 'ClimaUtilities.jl'
version:
- '1.10'
- '1.11'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
version: '1.11'
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: actions/checkout@v4
Expand All @@ -47,7 +49,7 @@ jobs:
# The test suite for ClimaTimesteppers depends on ClimaCore, not
# ClimaTimesteppers itself. If we dev-ed ClimaCore in ClimaTimesteppers,
# the aqua test would fail because we never use ClimaCore.
- if: matrix.package != 'ClimaTimesteppers.jl'
- if: (matrix.package != 'ClimaTimesteppers.jl' && matrix.package != 'ClimaCoupler.jl')
run: |
julia --color=yes --project=${{ matrix.package }} -e 'using Pkg; Pkg.instantiate()'
julia --color=yes --project=${{ matrix.package }} -e 'using Pkg; Pkg.develop(; path = ".")'
Expand All @@ -58,3 +60,9 @@ jobs:
julia --color=yes --project=ClimaTimesteppers.jl/test -e 'using Pkg; Pkg.instantiate()'
julia --color=yes --project=ClimaTimesteppers.jl/test -e 'using Pkg; Pkg.develop(; path = ".")'
julia --color=yes --project=ClimaTimesteppers.jl/test ClimaTimesteppers.jl/test/runtests.jl
- if: matrix.package == 'ClimaCoupler.jl'
run: |
julia --color=yes --project=ClimaCoupler.jl/experiments/ClimaEarth -e 'using Pkg; Pkg.instantiate()'
julia --color=yes --project=ClimaCoupler.jl/experiments/ClimaEarth -e 'using Pkg; Pkg.develop(; path = ".")'
julia --color=yes --project=ClimaCoupler.jl/experiments/ClimaEarth ClimaCoupler.jl/experiments/ClimaEarth/test/runtests.jl

0 comments on commit 7297f5d

Please sign in to comment.