Update sbt-scoverage to 2.1.1 (#518) #320
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: 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 }} |