Skip to content

Commit bcc3bf0

Browse files
committed
removed granary workflow
Signed-off-by: Sasha Meister <ameister@nvidia.com>
1 parent 4e16a67 commit bcc3bf0

File tree

2 files changed

+4
-45
lines changed

2 files changed

+4
-45
lines changed

.github/workflows/test_granary.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

tests/test_data_to_data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,12 @@ def en_hist_dir(tmp_path_factory):
295295
Uses tmp_path_factory → one persistent temp-dir for the whole session.
296296
"""
297297
aws_access_key = os.getenv("AWS_ACCESS_KEY")
298-
if not aws_access_key or aws_access_key == "access":
299-
pytest.skip("The environment variable AWS_ACCESS_KEY is not set or is empty")
298+
if not aws_access_key:
299+
raise EnvironmentError("The environment variable AWS_ACCESS_KEY is not set or is empty")
300300

301301
aws_secret_access_key = os.getenv("AWS_SECRET_KEY")
302-
if not aws_secret_access_key or aws_secret_access_key == "secret":
303-
pytest.skip("The environment variable AWS_SECRET_KEY is not set or is empty")
302+
if not aws_secret_access_key:
303+
raise EnvironmentError("The environment variable AWS_SECRET_KEY is not set or is empty")
304304

305305
s3 = boto3.client(
306306
's3',

0 commit comments

Comments
 (0)