mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-20 00:51:41 +00:00
Adding codecov support. (#13)
* Adding code codecov support. * Adding status badges for codecov and CI. * Fixes to codecov in CI. * Checking build directory. * Syntax error. * Fixing xml path. * Removing token.
This commit is contained in:
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@@ -65,10 +65,21 @@ jobs:
|
||||
with:
|
||||
java-version: 11
|
||||
|
||||
# Run Gradle tests.
|
||||
# Run Gradle build.
|
||||
- run: |
|
||||
chmod +x gradlew
|
||||
./gradlew test
|
||||
./gradlew build
|
||||
|
||||
# Run Gradle tests.
|
||||
- run: ./gradlew test
|
||||
|
||||
# Generate Coverage Report.
|
||||
- run: ./gradlew jacocoTestReport
|
||||
|
||||
# Publish Coverage Report.
|
||||
- uses: codecov/codecov-action@v1
|
||||
with:
|
||||
file: ./photon-server/build/reports/jacoco/test/jacocoTestReport.xml
|
||||
|
||||
build-package:
|
||||
needs: [build-client, build-server]
|
||||
|
||||
Reference in New Issue
Block a user