Skip to content

Commit

Permalink
Add debug mark
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Mar 21, 2024
1 parent a13f9aa commit 0128469
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ jobs:

- name: Run non-benchmark tests
working-directory: py-polars
run: pytest -m 'not release' -n auto --dist loadgroup
run: pytest -m 'not release and not debug' -n auto --dist loadgroup
1 change: 1 addition & 0 deletions py-polars/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ markers = [
"write_disk: Tests that write to disk",
"slow: Tests with a longer than average runtime.",
"release: Tests that should be run on a Polars release build.",
"debug: Tests that should be run on a Polars debug build.",
"docs: Documentation code snippets",
]
filterwarnings = [
Expand Down
1 change: 1 addition & 0 deletions py-polars/tests/unit/streaming/test_streaming_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def test_ooc_sort(tmp_path: Path, monkeypatch: Any) -> None:
assert_series_equal(out, s.sort(descending=descending))


@pytest.mark.debug()
@pytest.mark.write_disk()
@pytest.mark.parametrize("spill_source", [True, False])
def test_streaming_sort(
Expand Down
1 change: 1 addition & 0 deletions py-polars/tests/unit/test_cse.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def test_schema_row_index_cse() -> None:
assert_frame_equal(result, expected)


@pytest.mark.debug()
def test_cse_expr_selection_context(monkeypatch: Any, capfd: Any) -> None:
monkeypatch.setenv("POLARS_VERBOSE", "1")
q = pl.LazyFrame(
Expand Down

0 comments on commit 0128469

Please sign in to comment.