-
Notifications
You must be signed in to change notification settings - Fork 10
35 lines (33 loc) · 1.12 KB
/
downstream.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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/target_amip_albedo_function.yml --job_id target_amip_albedo_function