Skip to content

Commit

Permalink
Merge pull request #5 from Nicole00/coverage
Browse files Browse the repository at this point in the history
add test coverage
  • Loading branch information
HarrisChu authored Oct 19, 2021
2 parents f788898 + 582e078 commit 4d8fbcb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@ jobs:
popd
- name: Build with Maven
run: mvn -B package
run: |
mvn -B package
- uses: codecov/codecov-action@v2
19 changes: 19 additions & 0 deletions nebula-spark-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
Expand Down

0 comments on commit 4d8fbcb

Please sign in to comment.