File tree 4 files changed +13
-4
lines changed
plugin/src/test/scala/scoverage
4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 22
22
{ version: '2.12.20' },
23
23
{ version: '2.12.19' },
24
24
{ version: '2.12.18' },
25
+ { version: '2.13.15' },
25
26
{ version: '2.13.14' },
26
- { version: '2.13.13' },
27
- { version: '2.13.12' }
27
+ { version: '2.13.13' }
28
28
]
29
29
steps :
30
30
- name : checkout the repo
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ coursier fetch \
13
13
org.scoverage:scalac-scoverage-plugin_2.13.12:$version \
14
14
org.scoverage:scalac-scoverage-plugin_2.13.13:$version \
15
15
org.scoverage:scalac-scoverage-plugin_2.13.14:$version \
16
+ org.scoverage:scalac-scoverage-plugin_2.13.15:$version \
16
17
org.scoverage:scalac-scoverage-runtime_2.12:$version \
17
18
org.scoverage:scalac-scoverage-runtime_2.13:$version \
18
19
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
4
4
lazy val munitVersion = " 1.0.2"
5
5
lazy val scalametaVersion = " 4.9.9"
6
6
lazy val defaultScala212 = " 2.12.20"
7
- lazy val defaultScala213 = " 2.13.14 "
7
+ lazy val defaultScala213 = " 2.13.15 "
8
8
lazy val defaultScala3 = " 3.3.0"
9
9
lazy val bin212 =
10
10
Seq (
@@ -17,6 +17,7 @@ lazy val bin212 =
17
17
lazy val bin213 =
18
18
Seq (
19
19
defaultScala213,
20
+ " 2.13.14" ,
20
21
" 2.13.13" ,
21
22
" 2.13.12" ,
22
23
" 2.13.11"
Original file line number Diff line number Diff line change @@ -184,7 +184,14 @@ class PluginCoverageTest extends FunSuite with MacroSupport {
184
184
compiler.assertNMeasuredStatements(2 )
185
185
}
186
186
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) {
188
195
val compiler = ScoverageCompiler .default
189
196
190
197
compiler.compileCodeSnippet(
You can’t perform that action at this time.
0 commit comments