Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,32 @@ on:
pull_request:
branches: [ main, master ]

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: always.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.10'
- '1.11'
- '1.12'
os:
- ubuntu-latest
- macos-latest
- macOS-latest
arch:
- x64
- "default"

steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v5
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
Expand All @@ -43,4 +50,11 @@ jobs:
- uses: julia-actions/julia-buildpkg@v1

- uses: julia-actions/julia-runtest@v1

with:
coverage: true
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
continue-on-error: true
8 changes: 4 additions & 4 deletions .github/workflows/DocPreviewsCleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:
lookback:
default: 3

# Ensure that only one "Doc Previews Cleanup" workflow is force pushing at a time
concurrency:
group: doc-preview-cleanup
cancel-in-progress: false
# Same group concurrency as the `Documentation.yml` workflow, because they both
# git-push to the same branch, so we want to avoid clashes.
group: docs-pushing

jobs:
doc-preview-cleanup:
Expand All @@ -22,7 +22,7 @@ jobs:
contents: write
steps:
- name: Checkout gh-pages branch
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: gh-pages
- name: Delete preview and history + push changes
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Documentation

on:
push:
branches:
- main
tags: "*"
paths:
- ".github/workflows/Documention.yml"
- "docs/**"
- "src/**"
- "Project.toml"
- "CHANGELOG.md"
pull_request:
paths:
- ".github/workflows/Documention.yml"
- "docs/**"
- "src/**"
- "Project.toml"
- "CHANGELOG.md"
release:

concurrency:
# Same group concurrency as the `DocPreviewsCleanup.yml` workflow, because they both
# git-push to the same branch, so we want to avoid clashes. NOTE: this is
# different from the concurrency group below, which is to cancel successive
# jobs from within the PR.
group: docs-pushing

jobs:
build:
permissions:
actions: write
contents: write
pull-requests: read
statuses: write
runs-on: ubuntu-latest
timeout-minutes: 20
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
steps:
- uses: actions/checkout@v5
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
37 changes: 0 additions & 37 deletions .github/workflows/documentation.yml

This file was deleted.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Julia wrapper for [xESMF](https://github.com/pangeo-data/xESMF), a python packag
<img alt="CI" src="https://github.com/NumericalEarth/XESMF.jl/actions/workflows/CI.yml/badge.svg">
</a>

<a href="https://codecov.io/gh/NumericalEarth/XESMF.jl" >
<img src="https://codecov.io/gh/NumericalEarth/XESMF.jl/graph/badge.svg?token=ABAQ8KC347"/>
</a>

## Overview

XESMF.jl provides a Julia interface to the [xESMF](https://github.com/pangeo-data/xESMF) (xarray Earth System Model Exchange Format) Python library, which provides tools for interpolating and regridding fields between arbitrary grids.
Expand Down
Loading