Skip to content

Decorate code in html report (#779) #328

Decorate code in html report (#779)

Decorate code in html report (#779) #328

name: Codecov
on:
push:
branches: [master]
jobs:
codecov:
name: Run codecov on master
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
with:
java-version: adopt@1.11
- uses: actions/cache@v1
with:
path: ~/.ivy2/cache
key: ivy-${{hashFiles('**/*.sbt')}}
restore-keys: ivy-
- uses: actions/cache@v1
with:
path: ~/.sbt
key: sbt-${{hashFiles('**/*.sbt')}}-${{hashFiles('project/build.properties')}}
restore-keys: sbt-
- name: Generate coverage report
run: sbt clean coverage test coverageReport
- uses: codecov/codecov-action@v1