File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
templates/flutter/.github/workflows Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,11 @@ public function getFiles(): array
345345 'destination ' => '.github/workflows/format.yml ' ,
346346 'template ' => 'flutter/.github/workflows/format.yml.twig ' ,
347347 ],
348+ [
349+ 'scope ' => 'default ' ,
350+ 'destination ' => '.github/workflows/test.yml ' ,
351+ 'template ' => 'flutter/.github/workflows/test.yml ' ,
352+ ],
348353 [
349354 'scope ' => 'enum ' ,
350355 'destination ' => 'lib/src/enums/{{ enum.name | caseSnake }}.dart ' ,
Original file line number Diff line number Diff line change 1+ name : Analyze and test
2+
3+ on : pull_request
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v3
10+ - name : Install Flutter
11+ uses : subosito/flutter-action@v2
12+ with :
13+ channel : stable
14+ - run : flutter pub get
15+ - run : flutter analyze --no-fatal-infos --no-fatal-warnings
16+ - run : flutter test
You can’t perform that action at this time.
0 commit comments