File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 4141 pytest -vv -s \
4242 --log-format="%(asctime)s %(levelname)s %(message)s" \
4343 --log-date-format="%H:%M:%S" \
44- gcsfs/ \
45- --ignore=gcsfs/tests/test_extended_gcsfs.py
44+ gcsfs/
4645 - name : Run Extended Tests
4746 run : |
4847 export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/gcsfs/tests/fake-secret.json
Original file line number Diff line number Diff line change 2020lines = io .BytesIO (json_data ).readlines ()
2121file_size = len (json_data )
2222
23+ REQUIRED_ENV_VAR = "GCSFS_EXPERIMENTAL_ZB_HNS_SUPPORT"
24+
25+ # If the condition is True, only then tests in this file are run.
26+ should_run = os .getenv (REQUIRED_ENV_VAR , "false" ).lower () in (
27+ "true" ,
28+ "1" ,
29+ )
30+ pytestmark = pytest .mark .skipif (
31+ not should_run , reason = f"Skipping tests: { REQUIRED_ENV_VAR } env variable is not set"
32+ )
33+
2334
2435@pytest .fixture
2536def zonal_mocks ():
You can’t perform that action at this time.
0 commit comments