From e6424aa0f5d88c3941dc22338b7ad018dd9fef25 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 10 Dec 2022 17:32:23 +0100 Subject: [PATCH] fix tox4 passenv issue, fixes #7199 also: have a setting to disable fail-fast, in case something breaks again. --- .github/workflows/ci.yml | 1 + tox.ini | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a05e3b7f2..323f0e5a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,7 @@ jobs: needs: lint strategy: + fail-fast: true matrix: include: - os: ubuntu-20.04 diff --git a/tox.ini b/tox.ini index 861c24322..a6070bd5d 100644 --- a/tox.ini +++ b/tox.ini @@ -22,6 +22,10 @@ commands = py.test -v -n {env:XDISTN:1} -rs --cov=borg --cov-config=.coveragerc passenv = * +[testenv:.pkg] +passenv = * # needed by tox4, so env vars are visible for building borg + + [testenv:flake8] skip_sdist=true skip_install=true