Skip to content

Update sbt-scoverage to 2.1.1 (#518) #320

Update sbt-scoverage to 2.1.1 (#518)

Update sbt-scoverage to 2.1.1 (#518) #320

name: Coverage report
on:
push:
branches: [master]
jobs:
coverage_report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 8
cache: 'sbt'
- name: Compile
run: sbt compile
- name: Run cross-version tests with coverage
run: sbt coverage +test
- name: Generate coverage report
run: sbt coverageReport
- name: Aggregate sub-projects coverage reports
run: sbt coverageAggregate
- uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}