diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d20e615ca..f63484494 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -43,6 +43,9 @@ jobs: matrix: os: [ubuntu-20.04, windows-latest, macos-latest] pyv: ["3.8", "3.9", "3.10"] + pytest-filter: + - "import or plot or live or experiment" + - "not (import or plot or live or experiment)" include: - {os: ubuntu-latest, pyv: "3.11-dev"} @@ -75,10 +78,7 @@ jobs: AIOHTTP_NO_EXTENSIONS: ${{ matrix.pyv == '3.11-dev' && '1' }} - name: run tests timeout-minutes: 40 - run: >- - python -m tests -n=auto - --cov-report=xml --cov-report=term - ${{ env.extra_test_args }} + run: pytest -nauto -ra --durations 100 --cov=dvc --cov-report=xml --cov-report=term -k "${{ matrix.pytest-filter }}" - name: upload coverage report uses: codecov/codecov-action@v3 with: