[KYUUBI #5501] Update codecov token and fix codecov reporting on PRs
### _Why are the changes needed?_ Update codecov token to fix stale code coverage action ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request ### _Was this patch authored or co-authored using generative AI tooling?_ no Closes #5501 from yaooqinn/token. Closes #5501 1f4053231 [Kent Yao] java-17 fcd8391e7 [Kent Yao] java-17 5ccead77d [Kent Yao] upgrade jacoco 5cb4a8374 [Kent Yao] Revert "rm" 45d7a2134 [Kent Yao] rm 0a3dd2f42 [Kent Yao] Update codecov token Authored-by: Kent Yao <yao@apache.org> Signed-off-by: Kent Yao <yao@apache.org>
This commit is contained in:
parent
fbf395408f
commit
ceb8453783
2
.github/workflows/master.yml
vendored
2
.github/workflows/master.yml
vendored
@ -108,7 +108,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
TEST_MODULES="dev/kyuubi-codecov"
|
TEST_MODULES="dev/kyuubi-codecov"
|
||||||
./build/mvn clean install ${MVN_OPT} -pl ${TEST_MODULES} -am \
|
./build/mvn clean install ${MVN_OPT} -pl ${TEST_MODULES} -am \
|
||||||
-Pspark-${{ matrix.spark }} -Pspark-authz-hudi-test ${{ matrix.spark-archive }} ${{ matrix.exclude-tags }}
|
-Pjava-${{ matrix.java }} -Pspark-${{ matrix.spark }} -Pspark-authz-hudi-test ${{ matrix.spark-archive }} ${{ matrix.exclude-tags }}
|
||||||
- name: Code coverage
|
- name: Code coverage
|
||||||
if: |
|
if: |
|
||||||
matrix.java == 8 &&
|
matrix.java == 8 &&
|
||||||
|
|||||||
@ -16,4 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
codecov:
|
codecov:
|
||||||
token: b624e642-b0c8-4d45-94a1-a370888435bb
|
token: 5115fd3e-2ef2-40ed-b012-376a2afdc382
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
status:
|
||||||
|
project:
|
||||||
|
default:
|
||||||
|
target: auto # auto compares coverage to the previous base commit
|
||||||
|
threshold: 2% #this allows a 2% drop from the previous base commit coverage
|
||||||
|
|||||||
@ -31,6 +31,18 @@
|
|||||||
<url>https://kyuubi.apache.org/</url>
|
<url>https://kyuubi.apache.org/</url>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.kyuubi</groupId>
|
||||||
|
<artifactId>kyuubi-util</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.kyuubi</groupId>
|
||||||
|
<artifactId>kyuubi-util-scala_${scala.binary.version}</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.kyuubi</groupId>
|
<groupId>org.apache.kyuubi</groupId>
|
||||||
<artifactId>kyuubi-common_${scala.binary.version}</artifactId>
|
<artifactId>kyuubi-common_${scala.binary.version}</artifactId>
|
||||||
|
|||||||
57
pom.xml
57
pom.xml
@ -243,7 +243,9 @@
|
|||||||
<maven.plugin.scalatest.include.tags></maven.plugin.scalatest.include.tags>
|
<maven.plugin.scalatest.include.tags></maven.plugin.scalatest.include.tags>
|
||||||
<maven.plugin.scalatest.debug.enabled>false</maven.plugin.scalatest.debug.enabled>
|
<maven.plugin.scalatest.debug.enabled>false</maven.plugin.scalatest.debug.enabled>
|
||||||
<maven.plugin.spotless.version>2.30.0</maven.plugin.spotless.version>
|
<maven.plugin.spotless.version>2.30.0</maven.plugin.spotless.version>
|
||||||
<maven.plugin.jacoco.version>0.8.7</maven.plugin.jacoco.version>
|
<maven.plugin.surefire.version>3.2.1</maven.plugin.surefire.version>
|
||||||
|
<maven.plugin.surefire.argLine></maven.plugin.surefire.argLine>
|
||||||
|
<maven.plugin.jacoco.version>0.8.11</maven.plugin.jacoco.version>
|
||||||
<maven.plugin.scalastyle.version>1.0.0</maven.plugin.scalastyle.version>
|
<maven.plugin.scalastyle.version>1.0.0</maven.plugin.scalastyle.version>
|
||||||
<maven.plugin.shade.version>3.4.1</maven.plugin.shade.version>
|
<maven.plugin.shade.version>3.4.1</maven.plugin.shade.version>
|
||||||
<maven.plugin.silencer.version>1.7.13</maven.plugin.silencer.version>
|
<maven.plugin.silencer.version>1.7.13</maven.plugin.silencer.version>
|
||||||
@ -273,24 +275,6 @@
|
|||||||
<distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
|
<distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
|
||||||
<distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
|
<distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
|
||||||
|
|
||||||
<extraJavaTestArgs>-XX:+IgnoreUnrecognizedVMOptions
|
|
||||||
--add-opens=java.base/java.lang=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/java.io=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/java.net=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/java.nio=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/java.util=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/sun.nio.cs=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/sun.security.action=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/sun.security.tools.keytool=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/sun.security.x509=ALL-UNNAMED
|
|
||||||
--add-opens=java.base/sun.util.calendar=ALL-UNNAMED
|
|
||||||
-Djdk.reflect.useDirectMethodHandle=false
|
|
||||||
-Dio.netty.tryReflectionSetAccessible=true</extraJavaTestArgs>
|
|
||||||
<debugArgLine>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</debugArgLine>
|
<debugArgLine>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</debugArgLine>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
@ -1697,7 +1681,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<skipTests>true</skipTests>
|
<skipTests>true</skipTests>
|
||||||
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
|
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
|
||||||
<argLine>${extraJavaTestArgs}</argLine>
|
<argLine>${maven.plugin.surefire.argLine}</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- enable scalatest -->
|
<!-- enable scalatest -->
|
||||||
@ -1709,7 +1693,7 @@
|
|||||||
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
|
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
|
||||||
<junitxml>.</junitxml>
|
<junitxml>.</junitxml>
|
||||||
<filereports>TestSuite.txt</filereports>
|
<filereports>TestSuite.txt</filereports>
|
||||||
<argLine>${extraJavaTestArgs}</argLine>
|
<argLine>${maven.plugin.surefire.argLine}</argLine>
|
||||||
<environmentVariables>
|
<environmentVariables>
|
||||||
<KYUUBI_WORK_DIR_ROOT>${project.build.directory}/work</KYUUBI_WORK_DIR_ROOT>
|
<KYUUBI_WORK_DIR_ROOT>${project.build.directory}/work</KYUUBI_WORK_DIR_ROOT>
|
||||||
</environmentVariables>
|
</environmentVariables>
|
||||||
@ -2135,6 +2119,37 @@
|
|||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<id>java-17</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>17</jdk>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<java.version>17</java.version>
|
||||||
|
<maven.compiler.source></maven.compiler.source>
|
||||||
|
<maven.compiler.target></maven.compiler.target>
|
||||||
|
<maven.compiler.release>${java.version}</maven.compiler.release>
|
||||||
|
<maven.plugin.surefire.argLine>-XX:+IgnoreUnrecognizedVMOptions
|
||||||
|
--add-opens=java.base/java.lang=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/java.io=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/java.net=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/java.nio=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/java.util=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/sun.nio.cs=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/sun.security.action=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/sun.security.tools.keytool=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/sun.security.x509=ALL-UNNAMED
|
||||||
|
--add-opens=java.base/sun.util.calendar=ALL-UNNAMED
|
||||||
|
-Djdk.reflect.useDirectMethodHandle=false
|
||||||
|
-Dio.netty.tryReflectionSetAccessible=true</maven.plugin.surefire.argLine>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
|
||||||
<!-- For development only, not generally applicable for all modules -->
|
<!-- For development only, not generally applicable for all modules -->
|
||||||
<profile>
|
<profile>
|
||||||
<id>scala-2.13</id>
|
<id>scala-2.13</id>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user