Skip to content

Commit

Permalink
Attempt to re-enable Windows tests
Browse files Browse the repository at this point in the history
According to a comment in pypa/distutils#118 this problem might be
solved by allowing tox to pass some environment variables.
  • Loading branch information
abravalheri committed Mar 11, 2022
1 parent fc72349 commit 89581b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
platform:
- ubuntu-latest
- macos-latest
# disable tests on Windows due to pypa/distutils#118
# - windows-latest
- windows-latest
include:
- platform: ubuntu-latest
python: "3.10"
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ passenv =
windir # required for test_pkg_resources
# honor git config in pytest-perf
HOME
PROGRAMFILES
PROGRAMFILES(x86)

[testenv:integration]
deps = {[testenv]deps}
extras = testing-integration
passenv =
{[testenv]passenv}
DOWNLOAD_PATH
PROGRAMFILES
PROGRAMFILES(x86)
setenv =
PROJECT_ROOT = {toxinidir}
commands =
Expand Down

0 comments on commit 89581b4

Please sign in to comment.