Skip to content

Bumping versions and fixing workflows (#340) #37

Bumping versions and fixing workflows (#340)

Bumping versions and fixing workflows (#340) #37

Workflow file for this run

name: CodeCoverage
on:
push:
branches:
- master
jobs:
codacy-coverage-reporter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn clean test scoverage:report
- name: upload coverage_data
run: wget -qO - https://coverage.codacy.com/get.sh | bash
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}