File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 38
38
with :
39
39
python-version : ' 3.12'
40
40
- name : Install tox
41
- run : pip install tox==4.11.0
41
+ run : pip install tox==4.21.2
42
42
- name : Setup tox environment
43
43
run : tox run -e ${{ env.TOXENV }} --notest
44
44
- name : Test
Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ jobs:
128
128
name : ${{ matrix.name }}
129
129
env :
130
130
TOX_SKIP_MISSING_INTERPRETERS : False
131
- # Rich (pip)
132
- FORCE_COLOR : 1
131
+ # Rich (pip) -- Disable color for windows + pytest
132
+ FORCE_COLOR : ${{ !(startsWith(matrix.os, 'windows-') && startsWith(matrix.toxenv, 'py')) && 1 || 0 }}
133
133
# Tox
134
134
PY_COLORS : 1
135
135
# Mypy (see https://github.com/python/mypy/issues/7771)
@@ -183,7 +183,7 @@ jobs:
183
183
echo debug build; python -c 'import sysconfig; print(bool(sysconfig.get_config_var("Py_DEBUG")))'
184
184
echo os.cpu_count; python -c 'import os; print(os.cpu_count())'
185
185
echo os.sched_getaffinity; python -c 'import os; print(len(getattr(os, "sched_getaffinity", lambda *args: [])(0)))'
186
- pip install setuptools==75.1.0 tox==4.11.0
186
+ pip install setuptools==75.1.0 tox==4.21.2
187
187
188
188
- name : Compiled with mypyc
189
189
if : ${{ matrix.test_mypyc }}
@@ -243,7 +243,7 @@ jobs:
243
243
default : 3.11.1
244
244
command : python -c "import platform; print(f'{platform.architecture()=} {platform.machine()=}');"
245
245
- name : Install tox
246
- run : pip install setuptools==75.1.0 tox==4.11.0
246
+ run : pip install setuptools==75.1.0 tox==4.21.2
247
247
- name : Setup tox environment
248
248
run : tox run -e py --notest
249
249
- name : Test
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ envlist =
7
7
py310,
8
8
py311,
9
9
py312,
10
+ py313,
10
11
docs,
11
12
lint,
12
13
type,
You can’t perform that action at this time.
0 commit comments