11name : build
2- on : [push, pull_request]
2+ on : [push, pull_request, workflow_dispatch ]
33jobs :
44 test :
55 name : ${{ matrix.name }}
1919 toxpython : ' python3.11'
2020 tox_env : ' docs'
2121 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'
4022 - name : ' py39 (ubuntu)'
4123 python : ' 3.9'
4224 toxpython : ' python3.9'
5234 - name : ' py39 (macos)'
5335 python : ' 3.9'
5436 toxpython : ' python3.9'
55- python_arch : ' x64 '
37+ python_arch : ' arm64 '
5638 tox_env : ' py39'
5739 os : ' macos-latest'
5840 - name : ' py310 (ubuntu)'
7052 - name : ' py310 (macos)'
7153 python : ' 3.10'
7254 toxpython : ' python3.10'
73- python_arch : ' x64 '
55+ python_arch : ' arm64 '
7456 tox_env : ' py310'
7557 os : ' macos-latest'
7658 - name : ' py311 (ubuntu)'
8870 - name : ' py311 (macos)'
8971 python : ' 3.11'
9072 toxpython : ' python3.11'
91- python_arch : ' x64 '
73+ python_arch : ' arm64 '
9274 tox_env : ' py311'
9375 os : ' macos-latest'
9476 - name : ' py312 (ubuntu)'
@@ -106,26 +88,26 @@ jobs:
10688 - name : ' py312 (macos)'
10789 python : ' 3.12'
10890 toxpython : ' python3.12'
109- python_arch : ' x64 '
91+ python_arch : ' arm64 '
11092 tox_env : ' py312'
11193 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 '
11597 python_arch : ' x64'
116- tox_env : ' pypy38 '
98+ tox_env : ' py313 '
11799 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 '
121103 python_arch : ' x64'
122- tox_env : ' pypy38 '
104+ tox_env : ' py313 '
123105 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 '
129111 os : ' macos-latest'
130112 - name : ' pypy39 (ubuntu)'
131113 python : ' pypy-3.9'
@@ -142,7 +124,7 @@ jobs:
142124 - name : ' pypy39 (macos)'
143125 python : ' pypy-3.9'
144126 toxpython : ' pypy3.9'
145- python_arch : ' x64 '
127+ python_arch : ' arm64 '
146128 tox_env : ' pypy39'
147129 os : ' macos-latest'
148130 - name : ' pypy310 (ubuntu)'
@@ -160,14 +142,14 @@ jobs:
160142 - name : ' pypy310 (macos)'
161143 python : ' pypy-3.10'
162144 toxpython : ' pypy3.10'
163- python_arch : ' x64 '
145+ python_arch : ' arm64 '
164146 tox_env : ' pypy310'
165147 os : ' macos-latest'
166148 steps :
167- - uses : actions/checkout@v3
149+ - uses : actions/checkout@v4
168150 with :
169151 fetch-depth : 0
170- - uses : actions/setup-python@v4
152+ - uses : actions/setup-python@v5
171153 with :
172154 python-version : ${{ matrix.python }}
173155 architecture : ${{ matrix.python_arch }}
@@ -183,3 +165,11 @@ jobs:
183165 TOXPYTHON : ' ${{ matrix.toxpython }}'
184166 run : >
185167 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