From af100c96ae9ea2f30f96840589c3983e5ec413d0 Mon Sep 17 00:00:00 2001 From: Flavio Hafner <55716026+f-hafner@users.noreply.github.com> Date: Wed, 19 Aug 2026 14:46:48 +0200 Subject: [PATCH 1/2] Make installable with pyproject.toml --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e947d6c..24af4e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,9 @@ dependencies = [ "xarray>=2026.4.0", ] +[tool.setuptools] +packages = [] + [tool.pytest] testpaths = ["test"] From 1c398962d3f4ca0ee21f73d314ce5a948e711a8a Mon Sep 17 00:00:00 2001 From: Flavio Hafner <55716026+f-hafner@users.noreply.github.com> Date: Wed, 19 Aug 2026 14:46:58 +0200 Subject: [PATCH 2/2] Update gh action --- .github/workflows/python-app.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index d061674..b9c9a35 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -15,16 +15,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 + - uses: actions/checkout@v7 + - name: Set up Python 3.14 + uses: actions/setup-python@v7 with: - python-version: 3.8 + python-version: 3.14 + cache: 'pip' - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + python -m pip install pytest + python -m pip install . - name: Test with pytest run: | - pytest + python -m pytest