Configure CI to fail on skip of optional deps? #26890
Labels
CI
Continuous Integration
Needs Discussion
Requires discussion from core team before further action
Testing
pandas testing functions or related to the test suite
We have a recurring problem where tests are skipped without us realizing. See the discussion on #26852 and elsewhere.
Can we think of a way to make this more robust? Perhaps by adding an additional command line option to our pytest calls
Then we would update our calls to
pytest.importorskip
to use a pandas' wrapper that checks the config options. By default, it'll still skip, but if the--no-skip-{dep}
flag is passed we would fail.This would complicate the actual
pytest
call in the CI scripts, though it's already quite complicated.The text was updated successfully, but these errors were encountered: