Skip to content

Commit

Permalink
Merge branch 'tsmtih/move-artifacts' into test-release
Browse files Browse the repository at this point in the history
  • Loading branch information
Bento007 committed Feb 23, 2024
2 parents 7c30657 + c03c8e3 commit cab198d
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate_curated_lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Validate Curated List Update
on:
push:
paths:
- "**/tools/ontology-builder/src/ontology-references/**.json"
- "ontology-references/**.json"
- "**/artifact-schemas/**.json"
branches-ignore:
- main
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions tools/ontology-builder/src/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
ONTO_INFO_YAML = os.path.join(FIXTURES_ROOT, "ontology_info.yml")
PARSED_ONTOLOGIES_FILE = os.path.join(FIXTURES_ROOT, "all_ontology.json.gz")
SCHEMA_DIR = os.path.join(os.path.realpath(__file__).rsplit("/", maxsplit=4)[0], "artifact-schemas")
ONTOLOGY_ASSETS = os.path.join(os.path.realpath(__file__).rsplit("/", maxsplit=4)[0], "ontology-assets")
2 changes: 1 addition & 1 deletion tools/ontology-builder/src/validate_curated_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def verify_json(schema_file_name: str, json_file_name: str) -> bool:
return True


def main(path: str = env.ONTOLOGY_REF_DIR) -> None:
def main(path: str = env.ONTOLOGY_ASSETS) -> None:
"""
Verify the curated JSON lists match their respective JSON schema in artifact-schemas
:param path: The destination path for the json files
Expand Down

0 comments on commit cab198d

Please sign in to comment.