Skip to content

Commit 8723db4

Browse files
authored
[CI] Add workaround for problems with windows-latest host (#3174)
Add workaround for workaround for tox-dev/tox#2382
2 parents af0e243 + 3b3bbfd commit 8723db4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
platform:
2525
- ubuntu-latest
2626
- macos-latest
27-
- windows-2019
27+
- windows-latest
2828
include:
2929
- platform: ubuntu-latest
3030
python: "3.10"

tox.ini

+8
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,21 @@ passenv =
2020
windir # required for test_pkg_resources
2121
# honor git config in pytest-perf
2222
HOME
23+
# workaround for tox-dev/tox#2382
24+
PROGRAMDATA
25+
PROGRAMFILES
26+
PROGRAMFILES(x86)
2327

2428
[testenv:integration]
2529
deps = {[testenv]deps}
2630
extras = testing-integration
2731
passenv =
2832
{[testenv]passenv}
2933
DOWNLOAD_PATH
34+
# workaround for tox-dev/tox#2382
35+
PROGRAMDATA
36+
PROGRAMFILES
37+
PROGRAMFILES(x86)
3038
setenv =
3139
PROJECT_ROOT = {toxinidir}
3240
commands =

0 commit comments

Comments
 (0)