瀏覽代碼

fix tox4 passenv issue, fixes #7199

also: have a setting to disable fail-fast, in case something breaks again.
Thomas Waldmann 2 年之前
父節點
當前提交
e6424aa0f5
共有 2 個文件被更改,包括 5 次插入0 次删除
  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