Skip to content

ci(mergify): upgrade configuration to current format (#535) #336

ci(mergify): upgrade configuration to current format (#535)

ci(mergify): upgrade configuration to current format (#535) #336

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 }}