1
1
name : build
2
- on : [push, pull_request]
2
+ on : [push, pull_request, workflow_dispatch ]
3
3
jobs :
4
4
test :
5
5
name : ${{ matrix.name }}
19
19
toxpython : ' python3.11'
20
20
tox_env : ' docs'
21
21
os : ' ubuntu-latest'
22
- - name : ' py38 (ubuntu)'
23
- python : ' 3.8'
24
- toxpython : ' python3.8'
25
- python_arch : ' x64'
26
- tox_env : ' py38'
27
- os : ' ubuntu-latest'
28
- - name : ' py38 (windows)'
29
- python : ' 3.8'
30
- toxpython : ' python3.8'
31
- python_arch : ' x64'
32
- tox_env : ' py38'
33
- os : ' windows-latest'
34
- - name : ' py38 (macos)'
35
- python : ' 3.8'
36
- toxpython : ' python3.8'
37
- python_arch : ' x64'
38
- tox_env : ' py38'
39
- os : ' macos-latest'
40
22
- name : ' py39 (ubuntu)'
41
23
python : ' 3.9'
42
24
toxpython : ' python3.9'
52
34
- name : ' py39 (macos)'
53
35
python : ' 3.9'
54
36
toxpython : ' python3.9'
55
- python_arch : ' x64 '
37
+ python_arch : ' arm64 '
56
38
tox_env : ' py39'
57
39
os : ' macos-latest'
58
40
- name : ' py310 (ubuntu)'
70
52
- name : ' py310 (macos)'
71
53
python : ' 3.10'
72
54
toxpython : ' python3.10'
73
- python_arch : ' x64 '
55
+ python_arch : ' arm64 '
74
56
tox_env : ' py310'
75
57
os : ' macos-latest'
76
58
- name : ' py311 (ubuntu)'
88
70
- name : ' py311 (macos)'
89
71
python : ' 3.11'
90
72
toxpython : ' python3.11'
91
- python_arch : ' x64 '
73
+ python_arch : ' arm64 '
92
74
tox_env : ' py311'
93
75
os : ' macos-latest'
94
76
- name : ' py312 (ubuntu)'
@@ -106,26 +88,26 @@ jobs:
106
88
- name : ' py312 (macos)'
107
89
python : ' 3.12'
108
90
toxpython : ' python3.12'
109
- python_arch : ' x64 '
91
+ python_arch : ' arm64 '
110
92
tox_env : ' py312'
111
93
os : ' macos-latest'
112
- - name : ' pypy38 (ubuntu)'
113
- python : ' pypy-3.8 '
114
- toxpython : ' pypy3.8 '
94
+ - name : ' py313 (ubuntu)'
95
+ python : ' 3.13 '
96
+ toxpython : ' python3.13 '
115
97
python_arch : ' x64'
116
- tox_env : ' pypy38 '
98
+ tox_env : ' py313 '
117
99
os : ' ubuntu-latest'
118
- - name : ' pypy38 (windows)'
119
- python : ' pypy-3.8 '
120
- toxpython : ' pypy3.8 '
100
+ - name : ' py313 (windows)'
101
+ python : ' 3.13 '
102
+ toxpython : ' python3.13 '
121
103
python_arch : ' x64'
122
- tox_env : ' pypy38 '
104
+ tox_env : ' py313 '
123
105
os : ' windows-latest'
124
- - name : ' pypy38 (macos)'
125
- python : ' pypy-3.8 '
126
- toxpython : ' pypy3.8 '
127
- python_arch : ' x64 '
128
- tox_env : ' pypy38 '
106
+ - name : ' py313 (macos)'
107
+ python : ' 3.13 '
108
+ toxpython : ' python3.13 '
109
+ python_arch : ' arm64 '
110
+ tox_env : ' py313 '
129
111
os : ' macos-latest'
130
112
- name : ' pypy39 (ubuntu)'
131
113
python : ' pypy-3.9'
@@ -142,7 +124,7 @@ jobs:
142
124
- name : ' pypy39 (macos)'
143
125
python : ' pypy-3.9'
144
126
toxpython : ' pypy3.9'
145
- python_arch : ' x64 '
127
+ python_arch : ' arm64 '
146
128
tox_env : ' pypy39'
147
129
os : ' macos-latest'
148
130
- name : ' pypy310 (ubuntu)'
@@ -160,14 +142,14 @@ jobs:
160
142
- name : ' pypy310 (macos)'
161
143
python : ' pypy-3.10'
162
144
toxpython : ' pypy3.10'
163
- python_arch : ' x64 '
145
+ python_arch : ' arm64 '
164
146
tox_env : ' pypy310'
165
147
os : ' macos-latest'
166
148
steps :
167
- - uses : actions/checkout@v3
149
+ - uses : actions/checkout@v4
168
150
with :
169
151
fetch-depth : 0
170
- - uses : actions/setup-python@v4
152
+ - uses : actions/setup-python@v5
171
153
with :
172
154
python-version : ${{ matrix.python }}
173
155
architecture : ${{ matrix.python_arch }}
@@ -183,3 +165,11 @@ jobs:
183
165
TOXPYTHON : ' ${{ matrix.toxpython }}'
184
166
run : >
185
167
tox -e ${{ matrix.tox_env }} -v
168
+ finish :
169
+ needs : test
170
+ if : ${{ always() }}
171
+ runs-on : ubuntu-latest
172
+ steps :
173
+ - uses : codecov/codecov-action@v3
174
+ with :
175
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
0 commit comments