Skip to content

Commit

Permalink
[CI] Add workaround for problems with windows-latest host (#3174)
Browse files Browse the repository at this point in the history
Add workaround for workaround for tox-dev/tox#2382
  • Loading branch information
abravalheri authored Mar 20, 2022
2 parents af0e243 + 3b3bbfd commit 8723db4
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
# workaround for tox-dev/tox#2382
PROGRAMDATA
PROGRAMFILES
PROGRAMFILES(x86)

[testenv:integration]
deps = {[testenv]deps}
extras = testing-integration
passenv =
{[testenv]passenv}
DOWNLOAD_PATH
# workaround for tox-dev/tox#2382
PROGRAMDATA
PROGRAMFILES
PROGRAMFILES(x86)
setenv =
PROJECT_ROOT = {toxinidir}
commands =
Expand Down

0 comments on commit 8723db4

Please sign in to comment.