Skip to content

[pre-commit.ci] auto fixes from pre-commit.com hooks #453

[pre-commit.ci] auto fixes from pre-commit.com hooks

[pre-commit.ci] auto fixes from pre-commit.com hooks #453

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04 ]
python: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
variant: [ "py", "py-images" ]
include:
- os: macOS-11
python: "3.10"
variant: py-images
- os: windows-2019
python: "3.10"
variant: py-images
- os: windows-2019
name: python${{ matrix.python }} on ${{ matrix.os }} ${{ matrix.variant }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install test dependency
run: pip install tox
- name: Run tests
run: tox
env:
TOXENV: ${{ matrix.variant }}