diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5618a489..ab984542f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,23 @@ jobs: uses: actions/setup-python@v2 - name: Run pre-commit uses: pre-commit/action@v2.0.3 + + test: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: + - "3.9" + - "3.10" + steps: + - name: Check out repo + uses: actions/checkout@v2 + - name: Setup Pixi + uses: prefix-dev/setup-pixi@v0.3.0 + - name: Setup older Python versions + run: pixi add python=${{ matrix.python-version }} + - name: Run Tests + run: pixi run test build: runs-on: ubuntu-latest diff --git a/xugrid/ugrid/interpolate.py b/xugrid/ugrid/interpolate.py index d6ea05944..c29602d17 100644 --- a/xugrid/ugrid/interpolate.py +++ b/xugrid/ugrid/interpolate.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import warnings import numpy as np