浏览代码

Merge pull request #588 from jdcaballerov/move-vendored-as-submodules

Ignore tests inside vendored modules
Nick Sweeting 5 年之前
父节点
当前提交
9b6774f270
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .github/workflows/test.yml
  2. 1 1
      bin/test.sh

+ 1 - 1
.github/workflows/test.yml

@@ -90,7 +90,7 @@ jobs:
         # TODO: remove this exception for windows once we get tests passing on that platform
         if: ${{ !contains(matrix.os, 'windows') }}
         run: |
-          python -m pytest -s
+          python -m pytest -s --ignore=archivebox/vendor
 
   docker_tests:
     runs-on: ubuntu-latest

+ 1 - 1
bin/test.sh

@@ -14,4 +14,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && cd .. && pwd )"
 
 source "$DIR/.venv/bin/activate"
 
-pytest -s --basetemp=tests/out
+pytest -s --basetemp=tests/out --ignore=archivebox/vendor