Skip to content

Commit

Permalink
enable coverage in sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
barryoneill committed Nov 26, 2024
1 parent 5952e91 commit 604980f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
$HOME/.sbt
key: ${{ runner.os }}-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
- name: Build
run: sbt ";build; coverageReport"
run: sbt build
- name: Upload To Codecov
uses: codecov/codecov-action@v5
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ import laserdisc.sbt.LaserDiscDevelopers

ThisBuild / laserdiscCompileTarget := Scala2And3
ThisBuild / laserdiscRepoName := "console4s"
ThisBuild / coverageEnabled := true

val root = (project in file("."))
.settings(
name := "console4s",
developers := List(LaserDiscDevelopers.Barry),
Dependencies.Testing
Dependencies.Testing,

)
.enablePlugins(LaserDiscDefaultsPlugin)

0 comments on commit 604980f

Please sign in to comment.