Skip the serial marked tests in pytest coverage

Refs https://github.com/simonw/datasette/issues/2461#issuecomment-2634896235
This commit is contained in:
Simon Willison 2025-02-04 11:37:01 -08:00
commit b9047d812a

View file

@ -31,7 +31,7 @@ jobs:
run: |-
ls -lah
cat .coveragerc
pytest --cov=datasette --cov-config=.coveragerc --cov-report xml:coverage.xml --cov-report term
pytest -m "not serial" --cov=datasette --cov-config=.coveragerc --cov-report xml:coverage.xml --cov-report term
ls -lah
- name: Upload coverage report
uses: codecov/codecov-action@v1