updates py versions for testing #1624
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python: "3.13" | |
toxenv: flake8 | |
os: ubuntu-latest | |
- python: "3.13" | |
toxenv: mypy | |
os: ubuntu-latest | |
- python: "3.13" | |
toxenv: pylint | |
os: ubuntu-latest | |
- python: "3.13" | |
toxenv: black | |
os: ubuntu-latest | |
- python: "3.13" | |
toxenv: tilescope | |
os: ubuntu-latest | |
- python: "3.10" | |
toxenv: py310 | |
os: ubuntu-latest | |
- python: "3.11" | |
toxenv: py311 | |
os: ubuntu-latest | |
- python: "3.12" | |
toxenv: py312 | |
os: ubuntu-latest | |
- python: "3.13" | |
toxenv: py313 | |
os: ubuntu-latest | |
- python: "pypy-3.10" | |
toxenv: pypy310 | |
os: ubuntu-latest | |
- python: "3.13" | |
toxenv: py313 | |
os: macos-latest | |
- python: "3.13" | |
toxenv: py313 | |
os: windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: install dependencies | |
run: | | |
python -m pip install --upgrade pip tox | |
pip install setuptools wheel twine | |
- name: run | |
env: | |
TOXENV: ${{ matrix.toxenv }} | |
run: tox | |
- name: setup | |
run: python setup.py install |