-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add workflow to check project structure #357
Comments
want to assign.. if there is no problem.. @andrewtavis I'm learning github action thanks to you 😅 . |
Another idea for a workflow, @axif0: How about something that tells us which queries we're missing? So goes through and checks all languages and makes sure there's a directory for all the data types? Might fail for a quick moment, but that would assure that we have good support in the package 😊 |
@andrewtavis Ok. what I understand is we need to create an workflow action that shows annotations (warning type) for missing queries. This workflow go through all the language folders and sub_language, check if all data_types or not, if not append the warning. Also if folder exist, then check if query file exist or not. Am I right ? can you please elaborate a bit if you don't mind? |
Roughly what you're describing, so make sure that all the directories are there and that in each of them is the query file. With that being said, we don't need this to be a warning. Let's let it fail and then that forces us to write the missing queries :) |
We can similarly add it to the current workflow, I'd say @axif0. We're already parsing all the directories, so we might as well just add them to the output? Or would you say a different workflow would be better? |
ya @andrewtavis I think so. Adding this feature in this workflow would be a better option. let's do it. Should we search for all data-types of specific language?
|
I think that we're generally fine to just get all data types and the user can see that there's no returned data and then check to see whether the language has or doesn't have say postpositions, which might not be in every language. More important that we have tests that we have the functionality for all of them :) |
Closed by #432 :) We should look into simplifying all this down to maybe three checks, @axif0:
Let me know how this sounds and we can make another issue! |
Terms
Description
Along with #339 and #340 another check that's needed for the project is one that validates that some directories are being created in an appropriate way. Specifically within the src/scribe_data/language_data_extraction we need all sub directories of languages to be consistently named, where as of now we have some directories that are different like noun instead of nouns. Ideally this would take the form of a workflow
check_project_structure.yaml
within .github/workflows that would call a scriptcheck_project_structure.py
that would make sure that all directories under languages are data types of the project.Contribution
Happy to support with this and review when a PR is ready 😊
The text was updated successfully, but these errors were encountered: