DigitalNutritionalAssessment / gibsonify

Gibsonify — Collect nutritional data using Gibson's method!
http://gibsonify.org
Apache License 2.0
11 stars 1 forks source link

ci: add very good gh workflow #51

Closed adam-sroka closed 2 years ago

adam-sroka commented 2 years ago

This PR adds the very good flutter GitHub workflow, refactors the whole codebase to be complient with latest linter checks, and adds a demo test for the app. Future PRs will add tests and increase the minimal code coverage threshold of the workflow.

adam-sroka commented 2 years ago

Spent some time trying to fix the Do not use BuildContexts across async gaps warning present in all DatePickers and TimePickers in the app without any luck, posted a question on Flutter BLoC discord to see if I can get this moving: d

The easy solution would be to use an external date/time picker library instead of the native flutter material showDatePicker(...) ones, but ideally I'd rather avoid that and stick with defaults.

adam-sroka commented 2 years ago

Yesss! Finally all checks successful 🙌! Now only to get it actually working in practice! 😂

adam-sroka commented 2 years ago

@Archie-C maybe you want to have a look at this PR too?