Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,17 @@ jobs:
pip install pytest-localserver pytest-xdist pytest-asyncio
pip install meson-python versioneer # Needed for pandas build
python setup.py build_ext --inplace
pip uninstall -y pandas # remove site-packages version
python -m pip install ./pandas --no-build-isolation -C compile-args="-j4"

- name: Run Tests
shell: bash -l {0}
run: |
pytest -v fastparquet/ # fastparquet test suite against dev pandas
pytest --verbose pandas/pandas/tests/io/test_parquet.py
PY_IGNORE_IMPORTMISMATCH=1 pytest -v fastparquet/ # fastparquet test suite against dev pandas
cd pandas
PY_IGNORE_IMPORTMISMATCH=1 pytest --verbose pandas/tests/io/test_parquet.py -o xfail_strict=False
# Test parquet with different filesystems
pytest --verbose pandas/pandas/tests/io/test_gcs.py pandas/pandas/tests/io/test_fsspec.py -k "parquet" -o xfail_strict=False
PY_IGNORE_IMPORTMISMATCH=1 pytest --verbose pandas/tests/io/test_gcs.py pandas/tests/io/test_fsspec.py -k "parquet" -o xfail_strict=False

win:
name: win
Expand Down
2 changes: 1 addition & 1 deletion fastparquet/test/test_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_timestamps():


def test_pandas_hive_serialization(tmpdir):
parquet_dir = tmpdir.join("test.par")
parquet_dir = str(tmpdir.join("test.par"))
column = "data"
df = pd.DataFrame(
columns=[column], data=[("42",), ("",), ("0",), ("1",), ("0.0",)]
Expand Down
Loading