From 6fa8a212387ea69af7e1d51c15ed2243c012e7a6 Mon Sep 17 00:00:00 2001 From: MacPingu Date: Fri, 27 Jan 2023 20:26:09 +0100 Subject: [PATCH] fixed tox.ini parameter passenv (#670) * fixed tox.ini parameter passenv * use tox>=4.0 --- .github/workflows/main.yml | 2 +- requirements-dev.txt | 1 + tox.ini | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c593c6bd..4a6405a9f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: flake8 pywps if: matrix.python-version == 3.7 - name: Install tox 📦 - run: pip install tox + run: pip install "tox>=4.0" - name: Run tests with tox ⚙️ run: tox -e ${{ matrix.tox-env }} - name: Run coveralls ⚙️ diff --git a/requirements-dev.txt b/requirements-dev.txt index b91a605d8..5b2cd7d5a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,3 +8,4 @@ Sphinx twine wheel bump2version +tox>=4.0 diff --git a/tox.ini b/tox.ini index a37c37e8c..50a678941 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ setenv = PYTEST_ADDOPTS = "--color=yes" PYTHONPATH = {toxinidir} COV_CORE_SOURCE = -passenv = CI GITHUB_* LD_LIBRARY_PATH +passenv = CI, GITHUB_*, LD_LIBRARY_PATH download = True install_command = python -m pip install --no-user {opts} {packages}