File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed
plugin/src/test/scala/scoverage Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 2222 { version: '2.12.20' },
2323 { version: '2.12.19' },
2424 { version: '2.12.18' },
25+ { version: '2.13.15' },
2526 { version: '2.13.14' },
26- { version: '2.13.13' },
27- { version: '2.13.12' }
27+ { version: '2.13.13' }
2828 ]
2929 steps :
3030 - name : checkout the repo
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ coursier fetch \
1313 org.scoverage:scalac-scoverage-plugin_2.13.12:$version \
1414 org.scoverage:scalac-scoverage-plugin_2.13.13:$version \
1515 org.scoverage:scalac-scoverage-plugin_2.13.14:$version \
16+ org.scoverage:scalac-scoverage-plugin_2.13.15:$version \
1617 org.scoverage:scalac-scoverage-runtime_2.12:$version \
1718 org.scoverage:scalac-scoverage-runtime_2.13:$version \
1819 org.scoverage:scalac-scoverage-runtime_sjs1_2.12:$version \
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import sbtcrossproject.CrossType
44lazy val munitVersion = " 1.0.2"
55lazy val scalametaVersion = " 4.9.9"
66lazy val defaultScala212 = " 2.12.20"
7- lazy val defaultScala213 = " 2.13.14 "
7+ lazy val defaultScala213 = " 2.13.15 "
88lazy val defaultScala3 = " 3.3.0"
99lazy val bin212 =
1010 Seq (
@@ -17,6 +17,7 @@ lazy val bin212 =
1717lazy val bin213 =
1818 Seq (
1919 defaultScala213,
20+ " 2.13.14" ,
2021 " 2.13.13" ,
2122 " 2.13.12" ,
2223 " 2.13.11"
Original file line number Diff line number Diff line change @@ -184,7 +184,14 @@ class PluginCoverageTest extends FunSuite with MacroSupport {
184184 compiler.assertNMeasuredStatements(2 )
185185 }
186186
187- test(" scoverage should instrument for-loop guards" ) {
187+ // We ignore here becuase we end up getting an error in the compiler.
188+ // ```
189+ // scala.reflect.internal.Positions$ValidateException: Enclosing tree [165] does not include tree [160]
190+ // ```
191+ // When you do have this code it doesn't seem to actually impact the coverage data that is generated
192+ // so we just made note of this and ignored it. You can see more of the conversation in:
193+ // https://github.com/scoverage/scalac-scoverage-plugin/pull/641
194+ test(" scoverage should instrument for-loop guards" .ignore) {
188195 val compiler = ScoverageCompiler .default
189196
190197 compiler.compileCodeSnippet(
You can’t perform that action at this time.
0 commit comments