Update Scala to 3.0.0 final, sbt to 1.5.2 (#30248)
Also: Migrate to sbt slash syntax
This commit is contained in:
parent
49759617ab
commit
aa03e8b089
27 changed files with 145 additions and 148 deletions
|
|
@ -38,15 +38,15 @@ object TestExtras {
|
|||
},
|
||||
onlyTestTags := Params.testTagsOnly,
|
||||
// add filters for tests excluded by name
|
||||
testOptions in Test ++= excludeTestNames.value.toSeq.map(exclude =>
|
||||
Test / testOptions ++= excludeTestNames.value.toSeq.map(exclude =>
|
||||
Tests.Filter(test => !test.contains(exclude))),
|
||||
// add arguments for tests excluded by tag
|
||||
testOptions in Test ++= {
|
||||
Test / testOptions ++= {
|
||||
val tags = excludeTestTags.value
|
||||
if (tags.isEmpty) Seq.empty else Seq(Tests.Argument("-l", tags.mkString(" ")))
|
||||
},
|
||||
// add arguments for running only tests by tag
|
||||
testOptions in Test ++= {
|
||||
Test / testOptions ++= {
|
||||
val tags = onlyTestTags.value
|
||||
if (tags.isEmpty) Seq.empty else Seq(Tests.Argument("-n", tags.mkString(" ")))
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue