Skip to content

Commit

Permalink
save reports during build
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrehmann committed Dec 10, 2024
1 parent 36e5a85 commit 356d860
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,14 @@ jobs:
- name: Test module
run: mvn -Dtest=${{matrix.module}} test --batch-mode -Dmatsim.preferLocalDtds=true -Dmaven.javadoc.skip -e

- name: Generate reports
run: mvn site:site --batch-mode

- name: Archive reports
uses: actions/upload-artifact@v4
with:
name: maven-site
path: target/site/

env:
MAVEN_OPTS: -Xmx6G
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,12 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.21.0</version>
</plugin>

</plugins>
</build>

Expand Down

0 comments on commit 356d860

Please sign in to comment.