Skip to content

Commit

Permalink
Merge pull request #185 from Deltares/multiple-python
Browse files Browse the repository at this point in the history
WIP: Run multiple Python versions during tests
  • Loading branch information
Huite authored Dec 4, 2023
2 parents 1aa1564 + 7d78a8e commit 4699b32
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,23 @@ jobs:
uses: actions/setup-python@v2
- name: Run pre-commit
uses: pre-commit/[email protected]

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/[email protected]
- name: Setup older Python versions
run: pixi add python=${{ matrix.python-version }}
- name: Run Tests
run: pixi run test

build:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions xugrid/ugrid/interpolate.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import warnings

import numpy as np
Expand Down

0 comments on commit 4699b32

Please sign in to comment.