mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
Merge branch 'master' into attach-check-runs
This commit is contained in:
3
.github/codecov.yml
vendored
Normal file
3
.github/codecov.yml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
codecov:
|
||||
ignore:
|
||||
- "org/kohsuke/github/extras/okhtp3/ObsoleteUrlFactory.java"
|
||||
3
.github/workflows/maven-build.yml
vendored
3
.github/workflows/maven-build.yml
vendored
@@ -79,6 +79,9 @@ jobs:
|
||||
- name: Maven Install with Code Coverage
|
||||
if: matrix.os != 'windows' && matrix.java == '8'
|
||||
run: mvn -B install -D enable-ci --file pom.xml
|
||||
- name: Codecov Report
|
||||
if: matrix.os != 'windows' && matrix.java == '8'
|
||||
uses: codecov/codecov-action@v1.3.2
|
||||
# JDK 11+
|
||||
- name: Maven Install without Code Coverage
|
||||
if: matrix.os == 'windows' && matrix.java != '8'
|
||||
|
||||
12
pom.xml
12
pom.xml
@@ -110,6 +110,17 @@
|
||||
</goals>
|
||||
<configuration>
|
||||
<propertyName>jacoco.surefire.argLine</propertyName>
|
||||
<excludes>
|
||||
<!-- Code implemented externally -->
|
||||
<exclude>org/kohsuke/github/extras/okhtp3/ObsoleteUrlFactory.*</exclude>
|
||||
<exclude>org/kohsuke/github/extras/okhtp3/ObsoleteUrlFactory$*.*</exclude>
|
||||
<!-- Sample only -->
|
||||
<exclude>org/kohsuke/github/example/**</exclude>
|
||||
<!-- Deprecated -->
|
||||
<exclude>org/kohsuke/github/extras/OkHttp3Connector.*</exclude>
|
||||
<exclude>org/kohsuke/github/EnforcementLevel.*</exclude>
|
||||
<exclude>org/kohsuke/github/GHPerson$1.*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!-- attached to Maven test phase -->
|
||||
@@ -163,6 +174,7 @@
|
||||
<exclude>org.kohsuke.github.extras.OkHttp3Connector</exclude>
|
||||
<exclude>org.kohsuke.github.EnforcementLevel</exclude>
|
||||
<exclude>org.kohsuke.github.GHPerson.1</exclude>
|
||||
|
||||
<!-- TODO: Some coverage, but more needed -->
|
||||
<exclude>org.kohsuke.github.GHPullRequestReviewBuilder.DraftReviewComment</exclude>
|
||||
<exclude>org.kohsuke.github.GHIssue.PullRequest</exclude>
|
||||
|
||||
Reference in New Issue
Block a user