-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweak weekly check to regenerate and commit sankey diagram if tests pass
- Loading branch information
1 parent
2ebe649
commit 35adc67
Showing
1 changed file
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,19 @@ jobs: | |
pip install poetry | ||
poetry install | ||
- name: Run URL validation | ||
- name: Run URL validation and regenerate sankey diagram | ||
run: | | ||
make validate_infores | ||
make sankey | ||
make test | ||
if [ $? -eq 0 ]; then | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add project/* | ||
git add src/* | ||
git add infores_catalog.yaml | ||
git commit -m "Regenerate data_flow diagram and validate URLs in infores_catalog.yaml" | ||
git push | ||
else | ||
echo "'make' validation and sankey generation failed to finish successfully" | ||
fi | ||