diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2d0994862717..e5aed01a1ac1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -223,6 +223,7 @@ jobs: # Turn all warnings to errors, except ignore the distutils deprecations and the find_spec warning cat >> pytest.ini << EOF + [pytest] filterwarnings = error ignore:.*distutils:DeprecationWarning