Skip to content

add ClimaCoupler downstream test #1

add ClimaCoupler downstream test

add ClimaCoupler downstream test #1

Workflow file for this run

name: Downstream
on:
push:
branches:
- main
tags: '*'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: downstream ${{ package }}

Check failure on line 15 in .github/workflows/downstream.yml

View workflow run for this annotation

GitHub Actions / Downstream

Invalid workflow file

The workflow is not valid. .github/workflows/downstream.yml (Line: 15, Col: 11): Unrecognized named-value: 'package'. Located at position 1 within expression: package .github/workflows/downstream.yml (Line: 19, Col: 7): Unexpected value '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