-
-
Notifications
You must be signed in to change notification settings - Fork 374
60 lines (55 loc) · 1.53 KB
/
Copy pathtest.yaml
File metadata and controls
60 lines (55 loc) · 1.53 KB
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
name: "🧪 Test"
on:
pull_request:
push:
branches:
- "main"
- "releases"
jobs:
test:
name: "${{ matrix.name }}"
strategy:
fail-fast: false
matrix:
include:
- name: "Linux"
runner: "ubuntu-latest"
cpythons:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
cpython-beta: "3.15"
cache-paths:
- ".mypy_cache/"
cache-key-hash-files:
- "docs/conf.py"
- "pyproject.toml"
- "requirements/*/requirements.txt"
tox-skip-environments:
- "coverage-html"
# macOS and Windows tests target only the upper and lower CPython versions.
- name: "macOS"
runner: "macos-latest"
cpythons:
- "3.10"
- "3.14"
tox-factors:
- "chardet"
cache-key-hash-files:
- "pyproject.toml"
- "requirements/*/requirements.txt"
- name: "Windows"
runner: "windows-latest"
cpythons:
- "3.10"
- "3.14"
tox-factors:
- "chardet"
cache-key-hash-files:
- "pyproject.toml"
- "requirements/*/requirements.txt"
uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@19c3c069be51d3bfc3ac73e85e81b2b1646e91a8" # v1.7
with:
config: "${{ toJSON(matrix) }}"