Skip to content

Commit

Permalink
Only run coverage on JVM, as scoverage ScalaJS and Scala Native suppo…
Browse files Browse the repository at this point in the history
…rt is limited to Scala 2.
  • Loading branch information
arturaz committed Sep 4, 2024
1 parent c714c58 commit a9a83ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
with:
java-version: "[email protected]"
- name: Run tests
run: sbt coverage "++${{ matrix.scala }} test"
run: sbt "++${{ matrix.scala }} test"
- name: Run coverage (JVM only)
run: sbt coverage "++${{ matrix.scala }} root/test"
- name: Upload coverage data to Coveralls
run: sbt ++${{ matrix.scala }} coverageReport coveralls
env:
Expand Down

0 comments on commit a9a83ae

Please sign in to comment.