Skip to content

Merge pull request #428 from fcojfernandez/JENKINS-73904 #541

Merge pull request #428 from fcojfernandez/JENKINS-73904

Merge pull request #428 from fcojfernandez/JENKINS-73904 #541

Workflow file for this run

name: 'Github base Continuous Integration'
on:
push:
branches:
- master
pull_request:
branches:
- master
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 --batch-mode 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