Browse Source

fix tox4 passenv issue, fixes #7199

also: have a setting to disable fail-fast, in case something breaks again.
Thomas Waldmann 2 years ago
parent
commit
e6424aa0f5
2 changed files with 5 additions and 0 deletions
  1. 1 0
      .github/workflows/ci.yml
  2. 4 0
      tox.ini

+ 1 - 0
.github/workflows/ci.yml

@@ -49,6 +49,7 @@ jobs:
 
     needs: lint
     strategy:
+      fail-fast: true
       matrix:
         include:
             - os: ubuntu-20.04

+ 4 - 0
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