Skip to content

Commit 0e46a2c

Browse files
authored
feat: enable codecov (#502)
* feat: setup codecov * feat: setup codecov * feat: setup codecov
1 parent f589b18 commit 0e46a2c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/runtime-interface-client_pr.yml

+5
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,8 @@ jobs:
6262
with:
6363
name: aws-lambda-java-runtime-interface-client
6464
path: ./aws-lambda-java-runtime-interface-client/target/aws-lambda-java-runtime-interface-client-*.jar
65+
66+
- name: Upload coverage to Codecov
67+
uses: codecov/codecov-action@v4
68+
env:
69+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

aws-lambda-java-runtime-interface-client/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<properties>
3535
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3636
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
37-
<jacoco.maven.plugin.version>0.8.8</jacoco.maven.plugin.version>
37+
<jacoco.maven.plugin.version>0.8.12</jacoco.maven.plugin.version>
3838
<maven-install-plugin.version>2.4</maven-install-plugin.version>
3939
<maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version>
4040
<junit-jupiter.version>5.9.2</junit-jupiter.version>
@@ -112,7 +112,7 @@
112112
<artifactId>maven-surefire-plugin</artifactId>
113113
<version>3.0.0-M9</version>
114114
<configuration>
115-
<argLine>${argLineForReflectionTestOnly}</argLine>
115+
<argLine>${argLineForReflectionTestOnly} ${argLine}</argLine>
116116
</configuration>
117117
<dependencies>
118118
<dependency>

0 commit comments

Comments
 (0)