mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-02 02:51:40 +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:
2
photon-server/.gitignore
vendored
2
photon-server/.gitignore
vendored
@@ -3,7 +3,7 @@ bin/*
|
||||
.project
|
||||
.classpath
|
||||
*.prefs
|
||||
chameleon-vision
|
||||
photonvision
|
||||
.gradle
|
||||
.gradle/*
|
||||
build
|
||||
|
||||
@@ -3,6 +3,7 @@ plugins {
|
||||
id 'com.github.johnrengelman.shadow' version '5.2.0'
|
||||
id "com.diffplug.gradle.spotless" version "3.28.0"
|
||||
id "application"
|
||||
id "jacoco"
|
||||
}
|
||||
|
||||
group 'org.photonvision'
|
||||
@@ -19,6 +20,7 @@ repositories {
|
||||
url = 'https://frcmaven.wpi.edu:443/artifactory/development'
|
||||
}
|
||||
}
|
||||
|
||||
ext {
|
||||
wpilibVersion = '2020.3.2-75-g1557a4c'
|
||||
openCVVersion = '3.4.7-2'
|
||||
@@ -124,3 +126,11 @@ spotless {
|
||||
licenseHeaderFile "$rootDir/LicenseHeader.txt"
|
||||
}
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
dependsOn test // Tests are required to run before generating the report
|
||||
|
||||
reports {
|
||||
xml.enabled true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user