Bump org.skyscreamer:jsonassert from 1.5.1 to 1.5.3 - Build & Test #716
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build & Test" | |
# we have multiple workflows - this helps to distinguish for them | |
run-name: "${{ github.event.pull_request.title && github.event.pull_request.title || github.ref_name }} - Build & Test" | |
on: | |
push: | |
branches: [ develop, release/* ] | |
pull_request: | |
branches: [ develop ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup - Java 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'maven' | |
- name: Jacoco - Unit Tests | |
run: mvn --batch-mode clean jacoco:prepare-agent package jacoco:report | |
- name: Jacoco - Integration Tests | |
run: mvn --batch-mode jacoco:prepare-agent-integration failsafe:integration-test failsafe:verify verify jacoco:report | |
- name: Upload - Jacoco Overall Coverage | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: jacoco-coverage-overall | |
path: ${{ github.workspace }}/test-coverage/target/site/jacoco-overall-coverage/jacoco.xml | |
if-no-files-found: error |