-
Notifications
You must be signed in to change notification settings - Fork 21
39 lines (39 loc) · 1.08 KB
/
tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python: 3.9
env: pep8
- python: 3.9
env: docs
- 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: "3.12"
env: py312
- python: pypy-3.8
env: pypy3
name: ${{ matrix.env }} on Python ${{ matrix.python }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- run: pip install tox
- run: tox
env:
TOXENV: ${{ matrix.env }}