-
Notifications
You must be signed in to change notification settings - Fork 34
51 lines (51 loc) · 1.49 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
40
41
42
43
44
45
46
47
48
49
50
51
name: tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python: 3.x
toxenv: pep8
- python: 3.7
toxenv: py37
- python: 3.8
toxenv: py38
- python: 3.9
toxenv: py39
- python: "3.10"
toxenv: py310
- python: "3.11"
toxenv: py311
- python: pypy-3.8
toxenv: pypy3
- python: 3.7
toxenv: py37-pytest
- python: 3.8
toxenv: py38-pytest
- python: 3.9
toxenv: py39-pytest
- python: "3.10"
toxenv: py310-pytest
- python: 3.9
toxenv: py39-failskip
- python: 3.9
toxenv: py39-limit
- python: 3.9
toxenv: py39-prefix
name: ${{ matrix.toxenv }} 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.toxenv }}
# Skip network using tests as they are unreliable
GABBI_SKIP_NETWORK: true