Skip to content

Merge pull request #1210 from uhafner/dependabot/maven/org.openrewrit… #1824

Merge pull request #1210 from uhafner/dependabot/maven/org.openrewrit…

Merge pull request #1210 from uhafner/dependabot/maven/org.openrewrit… #1824

Workflow file for this run

name: 'CodeCov'
on:
push:
branches:
- main
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
name: Create and upload coverage report
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
check-latest: true
cache: 'maven'
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: Generate coverage with JaCoCo
run: mvn -V --color always -ntp clean verify -Pci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.6.0
with:
file: 'target/site/jacoco/jacoco.xml'
disable_search: true
token: ${{secrets.CODECOV_TOKEN}}