Skip the serial marked tests in pytest coverage

Refs https://github.com/simonw/datasette/issues/2461#issuecomment-2634896235
pull/2463/head
Simon Willison 2025-02-04 11:37:01 -08:00
rodzic 9e41d19f73
commit b9047d812a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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