Skip to content

Merge pull request #231 from CliMA/js/downstream #7

Merge pull request #231 from CliMA/js/downstream

Merge pull request #231 from CliMA/js/downstream #7

# Runs a short (~300s) coupled AMIP simulation with the ClimaCoupler.jl package.
# Note that the ClimaCoupler.jl test suite is also run in the "Downstream" workflow.
name: Downstream-ClimaCoupler
on:
push:
branches:
- main
tags: '*'
pull_request:
# Needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: downstream ClimaCoupler.jl
runs-on: ubuntu-latest
strategy:

Check failure on line 24 in .github/workflows/Downstream-ClimaCoupler.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/Downstream-ClimaCoupler.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
fail-fast: false
matrix:
version:
- '1.10'
- '1.11'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: actions/checkout@v4
with:
repository: 'CliMA/ClimaCoupler.jl'
path: 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