Coverage Report #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Coverage Report | |
on: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
applications: | |
name: Coverage Report ${{ matrix.java-version }} | |
if: github.repository == 'eclipse/eclipse-collections' | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
java-version: [11] | |
runs-on: ${{ matrix.os }} | |
env: | |
JAVA_VERSION: ${{ matrix.java-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java-version }} | |
- run: mvn --non-recursive wrapper:wrapper -Dmaven=3.9.6 | |
- name: Generate Coverage Report | |
run: ./mvnw --color=always verify | |
- name: Archive Jacoco reports | |
uses: actions/upload-artifact@v4 | |
with: | |
name: jacoco-reports | |
path: test-coverage/target/site/jacoco-aggregate |