Skip to content

Commit

Permalink
skipping long tests
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Nov 15, 2024
1 parent 3ebea24 commit 3ffbbff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/xarray/test_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# nor does it submit to any jurisdiction.


import os

import pytest
import requests
import xarray as xr
Expand Down Expand Up @@ -50,6 +52,9 @@ def _test_samples(n, check_skip=True):


@pytest.mark.parametrize("n", SAMPLES)
# it would be nice to use a @pytest.mark.slow and configure this globally
# this could be done when refactoring the tests, and setting up canary/nightly builds
@pytest.mark.skipif(not os.environ.get("SLOW_TESTS"), reason="No SLOW_TESTS env var")
def test_samples(n):
_test_samples(n)

Expand Down

0 comments on commit 3ffbbff

Please sign in to comment.