diff --git a/.github/workflows/lower-bound-requirements.yml b/.github/workflows/lower-bound-requirements.yml index 957a744631..d6c2e949d4 100644 --- a/.github/workflows/lower-bound-requirements.yml +++ b/.github/workflows/lower-bound-requirements.yml @@ -34,5 +34,8 @@ jobs: - name: Test with pytest run: | + # Disable error on filterwarnings as testing for oldest releases that work with latest API, + # not the oldest releases that are warning free + sed -i '/"error",/d' pyproject.toml # Run on tests/ to skip doctests of src given examples are for latest APIs - pytest --ignore tests/benchmarks/ --ignore tests/contrib --ignore tests/test_notebooks.py tests/ + pytest --disable-pytest-warnings --ignore tests/benchmarks/ --ignore tests/contrib --ignore tests/test_notebooks.py tests/