Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GitHubAction] data update automation by validating data with json schema #919

Open
kengoy opened this issue Feb 4, 2021 · 0 comments
Open

Comments

@kengoy
Copy link
Collaborator

kengoy commented Feb 4, 2021

For now we are updating data everyday by manually reviewing the update data and merging it to master brunch through GitHub action. HOW TO UPDATE DATA

To automate the statistic data update, we need to solve the 2 issues.

  1. How we can automatically make sure the json format is not changed.
  2. How we can automatically make sure the updated data is correct or at least sounds reasonable.

For 1, we can create json schema for each data set, and validate it in the GitHub action script.
json-schema.org
Understanding JSON Schema

For 2, looking for any ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant