Skip to content

Upgrade to FileUpload 2 (#335) #593

Upgrade to FileUpload 2 (#335)

Upgrade to FileUpload 2 (#335) #593

Workflow file for this run

name: 'Generate Coverage Report'
on:
push:
branches:
- main
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
name: Coverage on Ubuntu
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
check-latest: true
cache: 'maven'
- name: Generate coverage with JaCoCo
run: mvn clean verify jacoco:prepare-agent test integration-test jacoco:report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./target/site/jacoco/jacoco.xml