-
Notifications
You must be signed in to change notification settings - Fork 23
79 lines (79 loc) · 2.61 KB
/
build.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
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
{
"name": "CI",
"on": { "pull_request": null },
"jobs": {
"linux": {
"runs-on": "ubuntu-latest",
"strategy": {
"fail-fast": false,
"matrix": {
"name": [
"python-38",
"python-39",
"python-310",
"python-311",
"pep8",
"py3pep8",
"doc",
],
"include": [
{
"name": "python-38",
"python": "3.8",
"toxenv": "py38",
},
{
"name": "python-39",
"python": "3.9",
"toxenv": "py39",
},
{
"name": "python-310",
"python": "3.10",
"toxenv": "py310",
},
{
"name": "python-311",
"python": "3.11",
"toxenv": "py311",
},
{
"name": "pep8",
"python": "3.10",
"toxenv": "pep8",
"arch": "x64",
},
{
"name": "py3pep8",
"python": "3.10",
"toxenv": "pep8",
"arch": "x64",
},
{
"name": "doc",
"python": "3.10",
"toxenv": "doc",
"arch": "x64",
},
],
},
},
"steps": [
{ "uses": "actions/checkout@v4" },
{
"uses": "actions/setup-python@v5",
"with": { "python-version": "${{ matrix.python }}"},
},
{ "run": "pip --version" },
{ "run": "pip install tox" },
{ "run": "tox --version" },
{
"env": {
"TOXENV": "${{matrix.toxenv}}"
},
"run": "tox",
},
],
},
},
}