diff options
Diffstat (limited to '.github/workflows/tests.yaml')
-rw-r--r-- | .github/workflows/tests.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..a352171 --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,36 @@ +name: tests +on: [push, workflow_dispatch] +jobs: + build: + runs-on: ubuntu-20.04 + strategy: + matrix: + include: + - python: 2.7 + env: py27 + - python: 3.5 + env: py35 + - python: 3.6 + env: py36 + - python: 3.7 + env: py37 + - python: 3.8 + env: py38 + - python: 3.9 + env: py39 + - python: "3.10" + env: py310 + - python: "3.11" + env: py311 + - python: pypy-3.8 + env: pypy3 + name: ${{ matrix.env }} on Python ${{ matrix.python }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python }} + - run: pip install tox + - run: tox + env: + TOXENV: ${{ matrix.env }} |