Skip to content

Commit

Permalink
Skip geospatial benchmarks if scale not implemented (#1604)
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmakait authored Nov 15, 2024
1 parent 52f7d33 commit 4c29fdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
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

0 comments on commit 4c29fdf

Please sign in to comment.