From a2230a509bcd0f4c308ee59bd1eeac6def0e5d2b Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Fri, 11 Mar 2022 23:58:47 +0000 Subject: [PATCH] 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. --- .github/workflows/main.yml | 2 +- tox.ini | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5be824c1cb..c680fb3636 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ jobs: platform: - ubuntu-latest - macos-latest - - windows-2019 + - windows-latest include: - platform: ubuntu-latest python: "3.10" diff --git a/tox.ini b/tox.ini index a56ea24b6d..ca29dbbbc1 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,10 @@ 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} @@ -27,6 +31,10 @@ extras = testing-integration passenv = {[testenv]passenv} DOWNLOAD_PATH + # Microsoft's compiler suite (pypa/distutils#118) + PROGRAMDATA + PROGRAMFILES + PROGRAMFILES(x86) setenv = PROJECT_ROOT = {toxinidir} commands =