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 17, 2022
1 parent 02f3821 commit a2230a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
platform:
- ubuntu-latest
- macos-latest
- windows-2019
- windows-latest
include:
- platform: ubuntu-latest
python: "3.10"
Expand Down
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,21 @@ passenv =
windir # required for test_pkg_resources
# honor git config in pytest-perf
HOME
# Microsoft's compiler suite (pypa/distutils#118)
PROGRAMDATA
PROGRAMFILES
PROGRAMFILES(x86)

[testenv:integration]
deps = {[testenv]deps}
extras = testing-integration
passenv =
{[testenv]passenv}
DOWNLOAD_PATH
# Microsoft's compiler suite (pypa/distutils#118)
PROGRAMDATA
PROGRAMFILES
PROGRAMFILES(x86)
setenv =
PROJECT_ROOT = {toxinidir}
commands =
Expand Down

0 comments on commit a2230a5

Please sign in to comment.