浏览代码

Merge pull request #7201 from ThomasWaldmann/fix-macos-ci-1.2

fix tox4 issue on macOS CI (1.2-maint)
TW 2 年之前
父节点
当前提交
6d5c4a48b3
共有 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