Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' && matrix.java == 17 }}
uses: cicirello/jacoco-badge-generator@v2
with:
jacoco-csv-file: sdk/target/site/jacoco/jacoco.csv
badges-directory: sdk/target/site/jacoco
jacoco-csv-file: coverage-report/target/site/jacoco-aggregate/jacoco.csv
badges-directory: coverage-report/target/site/jacoco-aggregate

- name: Publish coverage report to GitHub Pages
if: ${{ github.ref == 'refs/heads/main' && matrix.java == 17 }}
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: docs
folder: sdk/target/site/jacoco
folder: coverage-report/target/site/jacoco-aggregate
target-folder: coverage

- name: Deploy javadoc to Github Pages
Expand Down
59 changes: 59 additions & 0 deletions coverage-report/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>software.amazon.lambda.durable</groupId>
<artifactId>aws-durable-execution-sdk-java-parent</artifactId>
<version>0.7.0-SNAPSHOT</version>
</parent>

<artifactId>aws-durable-execution-sdk-java-coverage-report</artifactId>
<packaging>pom</packaging>

<name>AWS Lambda Durable Execution SDK Coverage Report</name>
<description>Aggregated JaCoCo coverage report across all modules</description>

<dependencies>
<dependency>
<groupId>software.amazon.lambda.durable</groupId>
<artifactId>aws-durable-execution-sdk-java</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>software.amazon.lambda.durable</groupId>
<artifactId>aws-durable-execution-sdk-java-testing</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>software.amazon.lambda.durable</groupId>
<artifactId>aws-durable-execution-sdk-java-integration-tests</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>software.amazon.lambda.durable</groupId>
<artifactId>aws-durable-execution-sdk-java-examples</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>aggregate-report</id>
<phase>verify</phase>
<goals>
<goal>report-aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
1 change: 1 addition & 0 deletions examples/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ COPY sdk ./sdk
COPY sdk-testing ./sdk-testing
COPY sdk-integration-tests ./sdk-integration-tests
COPY examples ./examples
COPY coverage-report ./coverage-report

# Build and install the SDK modules first
RUN mvn clean install -DskipTests -pl sdk,sdk-testing -am
Expand Down
1 change: 1 addition & 0 deletions examples/Dockerfile-java17
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ COPY sdk ./sdk
COPY sdk-testing ./sdk-testing
COPY sdk-integration-tests ./sdk-integration-tests
COPY examples ./examples
COPY coverage-report ./coverage-report

# Install Maven
RUN apk add --no-cache maven
Expand Down
1 change: 1 addition & 0 deletions examples/Dockerfile-java21
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ COPY sdk ./sdk
COPY sdk-testing ./sdk-testing
COPY sdk-integration-tests ./sdk-integration-tests
COPY examples ./examples
COPY coverage-report ./coverage-report

# Install Maven
RUN apk add --no-cache maven
Expand Down
1 change: 1 addition & 0 deletions examples/Dockerfile-java25
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ COPY sdk ./sdk
COPY sdk-testing ./sdk-testing
COPY sdk-integration-tests ./sdk-integration-tests
COPY examples ./examples
COPY coverage-report ./coverage-report

# Install Maven
RUN apk add --no-cache maven
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<module>sdk-testing</module>
<module>sdk-integration-tests</module>
<module>examples</module>
<module>coverage-report</module>
</modules>

<properties>
Expand Down
Loading