Skip to content

Commit 26cbfa6

Browse files
committed
Unabled code coverage reporting with codecov.io
1 parent e3325db commit 26cbfa6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ jobs:
1515
java-version: 1.11
1616
- name: Build with Maven
1717
run: mvn -B package --file pom.xml
18+
- name: Upload coverage to Codecov
19+
uses: codecov/codecov-action@v1
20+
with:
21+
token: ${{ secrets.CODECOV_TOKEN }} #required
22+
file: ./sonar-flutter-plugin/target/jacoco.exec #optional
23+
fail_ci_if_error: true #optional (default = false)

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![Java CI](https://github.com/insideapp-oss/sonar-flutter/workflows/Java%20CI/badge.svg)
2+
13
# SonarQube plugin for Flutter / Dart
24

35
A plugin to enable analysis of Dart and Flutter projects into SonarQube.

0 commit comments

Comments
 (0)