Skip to content

Commit

Permalink
test run
Browse files Browse the repository at this point in the history
Signed-off-by: tnazarew <[email protected]>
  • Loading branch information
tnazarew committed Oct 23, 2024
1 parent 7641bf8 commit bdd90fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main_ol_spec_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ jobs:
repository: OpenLineage/OpenLineage
path: openlineage

- name: check for repo files
id: check-files
run: tree -d openlineage/spec

- name: check for changes in spec
id: check-changes
run: |
Expand Down
4 changes: 3 additions & 1 deletion scripts/compare_spec_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ def main():
spec_base, versions_path, new_versions_path = get_arguments()
latest = load_json(versions_path)

parsed = [parsed for file in read_json_files(spec_base) if (parsed := parse_id_field(load_json(file)))]
files = read_json_files(spec_base)
print(files)
parsed = [parsed for file in files if (parsed := parse_id_field(load_json(file)))]
print(parsed)
specs = {k: v for spec in parsed for k, v in spec.items()}
if any(higher_than(v, latest.get(s)) for s, v in specs.items()):
Expand Down

0 comments on commit bdd90fc

Please sign in to comment.