-
Notifications
You must be signed in to change notification settings - Fork 613
38 lines (32 loc) · 1.08 KB
/
coverage.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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