Skip to content

Commit

Permalink
Merge pull request #14 from data-apis/stable-pandas-ci
Browse files Browse the repository at this point in the history
Use latest stable pandas builds on CI
  • Loading branch information
honno authored Sep 29, 2022
2 parents a9ff93f + eabd82c commit 8c1fc08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: |
pip install ray git+https://github.com/modin-project/modin
pip install vaex # use stable as no nightly builds and long build time
pip install git+https://github.com/pandas-dev/pandas --no-deps --ignore-installed # TODO: use nightly builds again
pip install pandas --no-deps --ignore-installed # use stable as erroneous nightly builds and long build time
- name: Run tests
run: |
pytest tests/ -v --ci
8 changes: 1 addition & 7 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ def pytest_configure(config):


ci_xfail_ids = [
# vaex's and cudf's interchange dataframe doesn't have __dataframe__()
# See https://github.com/data-apis/dataframe-api/issues/80
"test_dataframe_object.py::test_dunder_dataframe[vaex]",
"test_signatures.py::test_dataframe_method[vaex-__dataframe__]",
"test_dataframe_object.py::test_dunder_dataframe[cudf]",
"test_signatures.py::test_dataframe_method[cudf-__dataframe__]",
# https://github.com/vaexio/vaex/pull/2150
"tests/test_signatures.py::test_column_method[vaex-size]",
# https://github.com/rapidsai/cudf/issues/11320
Expand Down Expand Up @@ -91,7 +85,7 @@ def pytest_collection_modifyitems(config, items):
if config.getoption("--ci"):
for item in items:
if any(id_ in item.nodeid for id_ in ci_xfail_ids):
item.add_marker(pytest.mark.xfail())
item.add_marker(pytest.mark.xfail(strict=True))
elif any(id_ in item.nodeid for id_ in ci_skip_ids):
item.add_marker(pytest.mark.skip("flaky"))
elif r_cudf_roundtrip.search(item.nodeid):
Expand Down

0 comments on commit 8c1fc08

Please sign in to comment.