forked from jd/tenacity
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (45 loc) · 1.1 KB
/
ci.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
name: Continuous Integration
permissions: read-all
on:
pull_request:
branches:
- main
concurrency:
# yamllint disable-line rule:line-length
group: "${{ github.workflow }}-${{ github.head_ref || github.run_id }}"
cancel-in-progress: true
jobs:
test:
timeout-minutes: 20
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- python: "3.8"
tox: py38
- python: "3.9"
tox: py39
- python: "3.10"
tox: py310
- python: "3.11"
tox: py311
- python: "3.12"
tox: py312,py312-trio
- python: "3.12"
tox: pep8
- python: "3.11"
tox: mypy
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Python 🔧
uses: actions/[email protected]
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Build 🔧 & Test 🔍
run: |
pip install tox
tox -e ${{ matrix.tox }}