Update configs and leaderboard #5861
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
|
||
| 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 | ||