diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-08 09:24:52 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-08 09:42:43 -0400 |
| commit | c163cdc44980bb39ec8b9031a38f58ed98766419 (patch) | |
| tree | 80c1c5bd241a213047d7a30fa000017050680dac /.github | |
| parent | 6217af70939d939b6abfc4abfe32a03bc47da967 (diff) | |
| download | python-coveragepy-git-c163cdc44980bb39ec8b9031a38f58ed98766419.tar.gz | |
test: make metacov work with xdist
I was using pytest.__file__ as a directory, but in 5.3.2, pytest changed
to be a package, so that wasn't the site-packages directory anymore, and
our .pth file was written someplace useless.
Now we don't rely on the structure of pytest (why did we ever?), and it
works again.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/coverage.yml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c305477b..e7dd828f 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -73,9 +73,7 @@ jobs: COVERAGE_CONTEXT: "${{ matrix.python-version }}.${{ matrix.os }}" run: | set -xe - # Something about pytest 6.x with xdist keeps data from collecting. - # Use -n0 for now. - python -m tox -- -n 0 + python -m tox - name: "Upload coverage data" uses: actions/upload-artifact@v2 |
