Skip to content

fix: file coverage.yml add distribution: 'temurin' of java #2

fix: file coverage.yml add distribution: 'temurin' of java

fix: file coverage.yml add distribution: 'temurin' of java #2

Workflow file for this run

name: Code Coverage
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn clean test
- name: Generate JaCoCo coverage report
run: mvn jacoco:report
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: target/site/jacoco/jacoco.xml