Skip to content

Commit

Permalink
Move config["testconfig_path"] assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Domenic Barbuzzi <domenic@neuralmagic.com>
  • Loading branch information
dbarbuzzi committed Nov 4, 2024
1 parent bb1d3c3 commit e4fb22b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,11 @@ def _parse_configs_dir(current_config_dir):
for file in os.listdir(current_config_dir):
config_path = os.path.join(current_config_dir, file)
config = _load_yaml(config_path)
config["testconfig_path"] = config_path
if not config:
continue

config["testconfig_path"] = config_path

cadence = os.environ.get("CADENCE", "commit")
expected_cadence = config.get("cadence")

Expand Down

0 comments on commit e4fb22b

Please sign in to comment.