Skip to content

Merge pull request #108 from noleme/fix/github-flow #159

Merge pull request #108 from noleme/fix/github-flow

Merge pull request #108 from noleme/fix/github-flow #159

name: Maven Code Coverage
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest ]
java: [ 21 ]
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Test with Maven
run: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent test jacoco:report
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true