Skip to content

Commit 89581b4

Browse files
committed
Attempt to re-enable Windows tests
According to a comment in pypa/distutils#118 this problem might be solved by allowing tox to pass some environment variables.
1 parent fc72349 commit 89581b4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
platform:
2525
- ubuntu-latest
2626
- macos-latest
27-
# disable tests on Windows due to pypa/distutils#118
28-
# - windows-latest
27+
- windows-latest
2928
include:
3029
- platform: ubuntu-latest
3130
python: "3.10"

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ passenv =
2020
windir # required for test_pkg_resources
2121
# honor git config in pytest-perf
2222
HOME
23+
PROGRAMFILES
24+
PROGRAMFILES(x86)
2325

2426
[testenv:integration]
2527
deps = {[testenv]deps}
2628
extras = testing-integration
2729
passenv =
2830
{[testenv]passenv}
2931
DOWNLOAD_PATH
32+
PROGRAMFILES
33+
PROGRAMFILES(x86)
3034
setenv =
3135
PROJECT_ROOT = {toxinidir}
3236
commands =

0 commit comments

Comments
 (0)