Skip to content

Commit

Permalink
fixing paths
Browse files Browse the repository at this point in the history
  • Loading branch information
djarecka committed Oct 31, 2024
1 parent ccc8cee commit ac7b638
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test_other_formats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ jobs:
echo "Processing $name file..";
gen-json-schema ${file} > tests_artifacts/json-schema-autogen/${name}.json;
echo "Diff in json schema for $name file (comparing to the current version)"
colordiff json-schema-autogen/${name}.json tests_artifacts/json-schema-autogen/${name}.json
colordiff ../json-schema-autogen/${name}.json tests_artifacts/json-schema-autogen/${name}.json
# generating jsonld context and removing generation_date field to avoid constant updates
gen-jsonld-context ${file} > tests_artifacts/jsonld-context-autogen/${name}.context.jsonld;
sed -i "/generation_date/d" tests_artifacts/jsonld-context-autogen/${name}.context.jsonld;
echo "Diff in jsonld context for $name file (comparing to the current version)"
colordiff jsonld-context-autogen/${name}.context.jsonld tests_artifacts/jsonld-context-autogen/${name}.context.jsonld
colordiff ../jsonld-context-autogen/${name}.context.jsonld tests_artifacts/jsonld-context-autogen/${name}.context.jsonld
gen-pydantic ${file} > tests_artifacts/models_py-autogen/${name}.py;
echo "Diff in pydantic model for $name file (comparing to the current version)"
colordiff models_py-autogen/${name}.py tests_artifacts/models_py-autogen/${name}.py
colordiff ../models_py-autogen/${name}.py tests_artifacts/models_py-autogen/${name}.py
if [ ${name} = "library_generation" ] || [ ${name} = "genome_annotation" ]; then
echo "Creating and Fixing diagrams for $name";
python ../utils/fix_and_create_erdiagram.py
Expand Down

0 comments on commit ac7b638

Please sign in to comment.