Skip to content

Commit

Permalink
Merge pull request #269 from jburel/drop_py37
Browse files Browse the repository at this point in the history
Drop py37
  • Loading branch information
jburel authored Apr 6, 2023
2 parents 198a959 + 7a52e4d commit 6edeaaf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
fail-fast: false
matrix:
include:
- {os: windows-latest, python_Version: '3.7', toxenv: 'py37'}
- {os: windows-latest, python_Version: '3.10', toxenv: 'py310'}
- {os: windows-latest, python_Version: '3.8', toxenv: 'py38'}
- {os: windows-latest, python_Version: '3.9', toxenv: 'py39'}
- {os: ubuntu-latest, python_Version: '3.7', toxenv: 'py37'}
- {os: ubuntu-latest, python_Version: '3.10', toxenv: 'py310'}
- {os: ubuntu-latest, python_Version: '3.8', toxenv: 'py38'}
- {os: ubuntu-latest, python_Version: '3.9', toxenv: 'py39'}
- {os: macos-latest, python_Version: '3.7', toxenv: 'py37'}
- {os: macos-latest, python_Version: '3.10', toxenv: 'py310'}
- {os: macos-latest, python_Version: '3.8', toxenv: 'py38'}
# missing numcodecs wheels on 3.9. conda not yet an option. see gh-51
# {os: macos-latest, python_Version: '3.9', toxenv: 'py39'}
Expand Down Expand Up @@ -51,18 +51,18 @@ jobs:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
name: Install Python '3.7'
name: Install Python '3.10'
with:
python-version: '3.7'
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install -r requirements/requirements-dev.txt
- name: Test
run: tox -e 'py37-coverage'
run: tox -e 'py310-coverage'

- uses: codecov/codecov-action@v2
with:
file: ./coverage.xml
fail_ci_if_error: true
fail_ci_if_error: false
7 changes: 5 additions & 2 deletions 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 = py37, py38, py39
envlist = py38, py39, py310

[testenv]
# passenv = DISPLAY XAUTHORITY
Expand All @@ -16,7 +16,10 @@ deps =
commands =
pytest {posargs:tests -s}

[testenv:py37-coverage]
[testenv:py310-coverage]
passenv =
CI
GITHUB_ACTIONS
usedevelop = true
commands =
pytest --cov-report=xml --cov=./ome_zarr --cov-append {posargs:-v}
Expand Down

0 comments on commit 6edeaaf

Please sign in to comment.