Skip to content

Commit 3053ed1

Browse files
Skip some slow tests
1 parent 8cf3b1b commit 3053ed1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
- "3.11"
2525
- "3.10"
2626
steps:
27-
# https://github.com/actions/runner/issues/2468#issuecomment-1651313943
28-
- name: Set Swap Space
29-
uses: pierotofy/set-swap-space@master
30-
with:
31-
swap-size-gb: 10
3227
- uses: actions/checkout@v4
3328
- uses: dtolnay/[email protected]
3429
- uses: Swatinem/rust-cache@v2

python/tests/__snapshots__/test_bindings/TestEGraph.test_parse_program.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@
119119
),
120120
)
121121
),
122-
]
122+
]

python/tests/test_bindings.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,19 @@ def get_egglog_folder() -> pathlib.Path:
2727

2828
EGG_SMOL_FOLDER = get_egglog_folder()
2929

30-
SLOW_TESTS = ["repro-unsound"]
30+
# > 1 second
31+
SLOW_TESTS = ["repro-unsound", "cykjson", "herbie", "lambda"]
32+
33+
# > 2 seconds
34+
SKIP_TESTS = {"eggcc-extraction", "math-microbenchmark", "python_array_optimize", "typeinfer"}
3135

3236

3337
@pytest.mark.parametrize(
3438
"example_file",
3539
[
3640
pytest.param(path, id=path.stem, marks=pytest.mark.slow if path.stem in SLOW_TESTS else [])
3741
for path in (EGG_SMOL_FOLDER / "tests").glob("*.egg")
42+
if path.stem not in SKIP_TESTS
3843
],
3944
)
4045
def test_example(example_file: pathlib.Path):

0 commit comments

Comments
 (0)