diff --git a/ci.sh b/ci.sh index aae8b3c..a9adcf4 100755 --- a/ci.sh +++ b/ci.sh @@ -66,7 +66,7 @@ else # These environment variables ensure that the import of the pytest-trio plugin is covered # even if pytest-trio is loaded before pytest-cov. See https://pytest-cov.readthedocs.io/en/latest/plugins.html - env COV_CORE_SOURCE=pytest_trio COV_CORE_CONFIG=.coveragerc COV_CORE_DATAFILE=.coverage pytest + env COV_CORE_SOURCE=pytest_trio COV_CORE_CONFIG=.coveragerc COV_CORE_DATAFILE=.coverage pytest -ra --verbose --cov # The codecov docs recommend something like 'bash <(curl ...)' to pipe the # script directly into bash as its being downloaded. But, the codecov diff --git a/pytest.ini b/pytest.ini index 67ed440..1081b0d 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,7 +1,7 @@ [pytest] -addopts = -ra -v --pyargs pytest_trio --verbose --cov +addopts = -W error --pyargs pytest_trio filterwarnings = error default::pytest.PytestAssertRewriteWarning default::pytest.PytestDeprecationWarning - default::pytest.PytestUnraisableExceptionWarning + default::pytest.PytestUnraisableExceptionWarning \ No newline at end of file