Skip to content

Add code coverage

Add code coverage #9

Workflow file for this run

name: Build StAXMapper
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
build:
runs-on: ubuntu-latest
name: build with JDK 11
steps:
- uses: actions/checkout@v3
name: checkout
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build
run: mvn -B install --file pom.xml -P coverage
- name: Upload code coverage report
uses: 'actions/upload-artifact@v2'
with:
name: jacoco
path: target/site/jacoco