Skip to content

Update configs and leaderboard #5861

Update configs and leaderboard

Update configs and leaderboard #5861

Workflow file for this run

name: ci
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: ci ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
ECCO_USERNAME: ${{ secrets.ECCO_USERNAME }}
ECCO_WEBDAV_PASSWORD: ${{ secrets.ECCO_WEBDAV_PASSWORD }}
strategy:
fail-fast: false
matrix:
version:
- '1.10'
- '1.11'
os:
- ubuntu-latest
- windows-latest
# There is a concurrency limit for MacOS runners across the
# entire organization.
# (see https://docs.github.com/en/actions/reference/limits#job-concurrency-limits-for-github-hosted-runners)
# To help with this, MacOS runners are only run when PRs are merged
# into the main branch.
- ${{ github.event_name == 'push' && 'macos-latest' || '' }}
exclude:
- os: ''
steps:
- uses: actions/checkout@v5
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- name: Submit coverage
if: ${{ matrix.version == '1.11' }} && ${{ matrix.os == 'ubuntu-latest' }}

Check warning on line 51 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Workflow syntax warning

.github/workflows/ci.yml (Line: 51, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
uses: codecov/codecov-action@v5
with:
token: ${{secrets.CODECOV_TOKEN}}
file: lcov.info
- run: |
julia -O0 --color=yes --project=experiments/ClimaEarth -e 'using Pkg; Pkg.instantiate()'
julia -O0 --color=yes --project=experiments/ClimaEarth -e 'using Pkg; Pkg.develop(; path = ".")'
julia -O0 --color=yes --project=experiments/ClimaEarth experiments/ClimaEarth/test/runtests.jl
- run: |
julia -O0 --color=yes --project=experiments/ClimaCore -e 'using Pkg; Pkg.instantiate()'
julia -O0 --color=yes --project=experiments/ClimaCore -e 'using Pkg; Pkg.develop(; path = ".")'
julia -O0 --color=yes --project=experiments/ClimaCore experiments/ClimaCore/test/runtests.jl