Skip to content

Commit

Permalink
Test more python and xarray versions (#13)
Browse files Browse the repository at this point in the history
* Test more python and xarray versions

* Update tox envlist

* Dont fail fast

* Use py3.9 instead of py3.8

* Update python version listing
  • Loading branch information
oliverwm1 authored Jan 6, 2024
1 parent b470a1c commit 5543e31
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
python-version: ["3.9", "3.11"]
fail-fast: false

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
description="Describe zarr stores from the command line.",
long_description=readme,
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py38-xarray{16,19,21,202203,202206}
envlist = py-xarray{16,19,21,202203,202206,202306,202312}

[testenv]
deps =
Expand All @@ -17,5 +17,7 @@ deps =
xarray21: xarray>=0.21.0,<0.22.0
xarray202203: xarray>=2022.03.0,<2022.04.0
xarray202206: xarray>=2022.06.0,<2022.07.0
xarray202306: xarray>=2023.06.0,<2023.07.0
xarray202312: xarray>=2023.12.0,<2024.01.0
commands =
pytest

0 comments on commit 5543e31

Please sign in to comment.