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 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"]