Преглед на файлове

Add coverage upload step in ci

xuty преди 3 години
родител
ревизия
b207636595
променени са 2 файла, в които са добавени 7 реда и са изтрити 2 реда
  1. 4 1
      .github/workflows/ci.yml
  2. 3 1
      .gitignore

+ 4 - 1
.github/workflows/ci.yml

@@ -32,4 +32,7 @@ jobs:
         run: flutter analyze --fatal-infos
 
       - name: Run tests
-        run: flutter test
+        run: flutter test --coverage
+
+      - name: Upload coverage
+        uses: codecov/codecov-action@v3

+ 3 - 1
.gitignore

@@ -75,4 +75,6 @@ build/
 !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
 
 .vscode/
-example/lib/debug.dart
+example/lib/debug.dart
+
+coverage/