Skip to content

Commit

Permalink
Add downstream tests
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Sep 25, 2024
1 parent 06416e9 commit a1f2667
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/Downstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Downstream
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 ${{ matrix.package }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- 'ClimaAtmos.jl'
- 'ClimaCoupler.jl'
- 'ClimaDiagnostics.jl'
- 'ClimaLand.jl'
- 'KinematicDriver.jl'
- 'ClimaDiagnostics.jl'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: actions/checkout@v4
with:
repository: 'CliMA/${{ matrix.package }}'
path: ${{ matrix.package }}

0 comments on commit a1f2667

Please sign in to comment.