Skip to content

Feature/dataset notebook #35

Feature/dataset notebook

Feature/dataset notebook #35

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --extra dev
- name: Lint
run: uv run ruff check .
- name: Format check
run: uv run ruff format --check .
- name: Test
run: uv run pytest --cov=xarray_plotly --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v5
if: matrix.python-version == '3.12'
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false