TheDurian / food-group-app

1 stars 0 forks source link

test adding new automation to create app #5

Closed TheDurian closed 11 months ago

TheDurian commented 11 months ago

Adding some automations through github. Basically, all of it does 3 things.

  1. Have the comment/table shown below created based off the test cases from our app. its just listing out what lines are not being covered by our test cases. This is useful to us because it can show us that we arent testing like a certain button or workflow image
  2. Analyze our code for common issues and suggestions. If this has a suggestion, it will fail the pull request and I would have to go in and fix my issues. That looks like this (before i fixed it) image
  3. Build the app and save the .APK file to this pull request. This lets us have a built version of the app created every time we deploy a change. So if we wanted, i can download the version from 20 builds ago etc. (we have 90day limit though on this by default)
github-actions[bot] commented 11 months ago

LCOV of commit 45dd374 during Build application #10

Summary coverage rate:
  lines......: 90.0% (27 of 30 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate:
                                       |Lines       |Functions  |Branches    
  Filename                             |Rate     Num|Rate    Num|Rate     Num
  ===========================================================================
  lib/src/screens/home/home_screen.dart| 100%     19|    -     0|    -      0
  lib/src/themes/app_themes.dart       |80.0%      5|    -     0|    -      0