Skip to content

Commit

Permalink
tests: include pandas, pyarrow to testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-nelson-uiuc committed Dec 27, 2024
1 parent 773a039 commit 3247e5b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pyspark==${{ matrix.pyspark-version }} attrs==${{ matrix.attrs-version }}
pip install --upgrade pytest loguru pandas
pip install --upgrade pytest loguru pandas pyarrow
pip install --editable .
- name: Run testing suite
run: python -m pytest tests
16 changes: 8 additions & 8 deletions tests/core/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ def test_filter_regex(self, eits_data):
),
)
assertDataFrameEqual(
~(
eits_data.filter(
eits_data.filter(
~(
F.col("title").rlike(TEST_PATTERN)
| F.col("comments").rlike(TEST_PATTERN)
)
Expand All @@ -70,8 +70,8 @@ def test_filter_regex(self, eits_data):
),
)
assertDataFrameEqual(
~(
eits_data.filter(
eits_data.filter(
~(
F.col("title").rlike(TEST_PATTERN)
& F.col("comments").rlike(TEST_PATTERN)
)
Expand Down Expand Up @@ -113,8 +113,8 @@ def test_filter_elements(self, eits_data):
),
)
assertDataFrameEqual(
~(
eits_data.filter(
eits_data.filter(
~(
F.col("formats").isin(TEST_ELEMENTS)
| F.col("producer").isin(TEST_ELEMENTS)
)
Expand All @@ -124,8 +124,8 @@ def test_filter_elements(self, eits_data):
),
)
assertDataFrameEqual(
~(
eits_data.filter(
eits_data.filter(
~(
F.col("formats").isin(TEST_ELEMENTS)
& F.col("producer").isin(TEST_ELEMENTS)
)
Expand Down

0 comments on commit 3247e5b

Please sign in to comment.