Skip to content

Merge pull request #60 from nitram509/dependabot/maven/org.apache.mav… #82

Merge pull request #60 from nitram509/dependabot/maven/org.apache.mav…

Merge pull request #60 from nitram509/dependabot/maven/org.apache.mav… #82

Workflow file for this run

name: maven test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11', '17', '19' ]
name: 'Java ${{ matrix.java }} maven test'
steps:
- name: 'checkout'
uses: 'actions/checkout@v3'
- name: 'Set up JDK ${{ matrix.java }}'
uses: 'actions/setup-java@v3'
with:
java-version: '${{ matrix.java }}'
distribution: 'adopt'
- name: 'Build & test with Maven'
run: 'mvn test'
- name: 'upload code coverage'
if: ${{ matrix.java == '11' }}
uses: 'codecov/codecov-action@v3'
with:
files: 'target/site/jacoco/jacoco.xml'
name: 'codecov-umbrella'
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)