Skip to content

testing

testing #315

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- python: "3.11"
toxenv: flake8
os: ubuntu-latest
- python: "3.11"
toxenv: mypy
os: ubuntu-latest
- python: "3.11"
toxenv: pylint
os: ubuntu-latest
- python: "3.11"
toxenv: black
os: ubuntu-latest
- python: 3.8
toxenv: py38
os: ubuntu-latest
- python: 3.9
toxenv: py39
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: pypy-3.9
toxenv: pypy39
os: ubuntu-latest
- python: "3.11"
toxenv: py310
os: macos-latest
- python: "3.11"
toxenv: py310
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
- name: run
env:
TOXENV: ${{ matrix.toxenv }}
run: tox
- name: setup
run: python setup.py install