diff --git a/.github/workflows/test-backend.yaml b/.github/workflows/test-backend.yaml index 94d422f1..3f764d38 100644 --- a/.github/workflows/test-backend.yaml +++ b/.github/workflows/test-backend.yaml @@ -42,7 +42,11 @@ jobs: VERSION: test RELEASEID: test run: | - python -m pytest --cov=app --cov-report=xml + coverage run --concurrency=thread,greenlet --source=app -m pytest + coverage xml + # https://github.com/nedbat/coveragepy/issues/1082 + # pytest-cov doesn't seem to support the `concurrency` flag so + # using coverage commands - name: Codecov # You may pin to the exact commit or the version.