Skip to content

Commit

Permalink
add ClimaCoupler downstream test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Jun 26, 2024
1 parent b26dfd8 commit c619d9b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Downstream
on:
push:
branches:
- main
tags: '*'
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: downstream ${{ package }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
package:
- 'ClimaCoupler.jl'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: '1.10'
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: actions/checkout@v4
with:
repository: 'CliMA/${{ package }}'
path: ${{ package }}
- run: |
julia --color=yes --project=${{ package }}/experiments/ClimaEarth/ -e 'using Pkg; Pkg.instantiate()'
julia --color=yes --project=${{ package }}/experiments/ClimaEarth/ -e 'using Pkg; Pkg.develop(; path = ".")'
julia --color=yes --project=${{ package }}/experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file ${{ package }}/config/ci_configs/slabplanet_albedo_function.yml --job_id slabplanet_albedo_function

0 comments on commit c619d9b

Please sign in to comment.