-
Notifications
You must be signed in to change notification settings - Fork 8
42 lines (40 loc) · 987 Bytes
/
tests.yml
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
name: tests
on: [push, pull_request]
jobs:
tests:
name: "${{ matrix.tox }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- python: "3.9"
tox: py39
- python: "3.10"
tox: py310
- python: "3.11"
tox: py311
- python: "3.12"
tox: py312
- python: "pypy-3.10"
tox: pypy3
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python }}"
- run: |
python -m pip install --upgrade pip
pip install tox coveralls
- run: tox -e ${{ matrix.tox }}
qa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: |
python -m pip install --upgrade pip
pip install tox
- run: tox -e lint