-
-
Notifications
You must be signed in to change notification settings - Fork 344
83 lines (76 loc) · 2.11 KB
/
test.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: "🧪 Test"
on:
pull_request:
push:
branches:
- "develop"
- "master"
- "main"
- "releases"
jobs:
test:
name: "${{ matrix.name }}"
strategy:
fail-fast: false
matrix:
include:
- name: "Linux (CPython)"
runner: "ubuntu-latest"
cpythons:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
tox-factors:
- "chardet"
cache-key-hash-files:
- "pyproject.toml"
- "requirements/*/requirements.txt"
- name: "Linux (PyPy)"
runner: "ubuntu-latest"
pypys:
- "3.9"
- "3.10"
tox-factors:
- "chardet"
cache-key-hash-files:
- "pyproject.toml"
- "requirements/*/requirements.txt"
# macOS and Windows tests target only the upper and lower CPython versions.
- name: "macOS"
runner: "macos-latest"
cpythons:
- "3.9"
- "3.13"
tox-factors:
- "chardet"
cache-key-hash-files:
- "pyproject.toml"
- "requirements/*/requirements.txt"
- name: "Windows"
runner: "windows-latest"
cpythons:
- "3.9"
- "3.13"
tox-factors:
- "chardet"
cache-key-hash-files:
- "pyproject.toml"
- "requirements/*/requirements.txt"
- name: "Quality"
runner: "ubuntu-latest"
cpythons:
- "3.13"
tox-environments:
- "docs"
- "mypy"
cache-paths:
- ".mypy_cache/"
cache-key-hash-files:
- "docs/conf.py"
- "pyproject.toml"
- "requirements/*/requirements.txt"
uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@2f156c58bf4ceebc623014b407f5711899e41235" # v1.0
with:
config: "${{ toJSON(matrix) }}"