Skip to content

Commit

Permalink
test: skip if on hpc
Browse files Browse the repository at this point in the history
  • Loading branch information
theissenhelen committed Aug 2, 2024
1 parent 79dacda commit f91f9fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/create/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
from anemoi.datasets.create import Creator
from anemoi.datasets.data.stores import open_zarr

GITHUB_ACTION = os.getenv("GITHUB_ACTION")

TEST_DATA_ROOT = "https://object-store.os-api.cci1.ecmwf.int/ml-tests/test-data/anemoi-datasets/create/"


Expand Down Expand Up @@ -209,6 +211,7 @@ def compare(self):
compare_statistics(self.ds_output, self.ds_reference)


@pytest.mark.skipIf(GITHUB_ACTION == "downstream-ci-hpc", reason="Skipping on self-hosted runner")
@pytest.mark.parametrize("name", NAMES)
@mockup_from_source
def test_run(name):
Expand Down

0 comments on commit f91f9fc

Please sign in to comment.