Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip geospatial benchmarks if scale not implemented #1604

Merged
merged 1 commit into from
Nov 15, 2024
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
4 changes: 4 additions & 0 deletions tests/geospatial/test_satellite_filtering.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import os

import pytest

from tests.geospatial.workloads.satellite_filtering import satellite_filtering


Expand All @@ -16,6 +18,8 @@ def test_satellite_filtering(
"large": {"n_workers": 100},
},
):
if scale not in scale_kwargs.keys():
pytest.skip(reason=f"{scale=} not implemented")
with setup_benchmark(
**scale_kwargs[scale],
env={
Expand Down
2 changes: 2 additions & 0 deletions tests/geospatial/test_zonal_average.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def test_nwm(
pytest.skip(
reason="FIXME: Submission requires pre-computations, but no workers were requested."
)
if scale not in scale_kwargs.keys():
pytest.skip(reason=f"{scale=} not implemented")
with setup_benchmark(
**scale_kwargs[scale], **cluster_kwargs
) as benchmark: # noqa: F841
Expand Down
Loading