Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scoverage support on Scala 3.2 #2043

Closed
markehammons opened this issue Sep 21, 2022 · 1 comment · Fixed by #2016
Closed

Scoverage support on Scala 3.2 #2043

markehammons opened this issue Sep 21, 2022 · 1 comment · Fixed by #2016
Milestone

Comments

@markehammons
Copy link
Contributor

Scala 3.2 can generate scoverage info on its own. You need only do

override def scalacOptions: Target[Seq[String]] =
      T {
        outer.scalacOptions() ++
          Seq(s"-coverage-out:${data().path.toIO.getPath()}")

To have coverage reports.

@lefou lefou linked a pull request Sep 21, 2022 that will close this issue
@lefou
Copy link
Member

lefou commented Sep 22, 2022

Yeah, collecting data that way is easy. But you still need to invoke some tools to generate a report from it.

@lefou lefou added this to the after 0.10.7 milestone Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants