diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f33d16..3497c6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,7 @@ jobs: - 2.12.17 - 2.12.18 - 2.12.19 + - 2.12.20 - 2.13.5 - 2.13.6 - 2.13.7 @@ -73,7 +74,7 @@ jobs: run: sbt -v '++ ${{ matrix.scala }}' plugin/test - name: SBT plugin tests run: sbt -v '++ ${{ matrix.scala }}' profilingSbtPlugin/scripted - intergration-tests: + integration-tests: name: Integration tests runs-on: ubuntu-latest steps: diff --git a/build.sbt b/build.sbt index 5a6490b..8cfc87b 100644 --- a/build.sbt +++ b/build.sbt @@ -24,7 +24,8 @@ lazy val root = project (integrations / watchSources).value ) -val bin212 = Seq("2.12.19", "2.12.18", "2.12.17", "2.12.16", "2.12.15", "2.12.14", "2.12.13") +val bin212 = + Seq("2.12.20", "2.12.19", "2.12.18", "2.12.17", "2.12.16", "2.12.15", "2.12.14", "2.12.13") val bin213 = Seq( "2.13.14", diff --git a/plugin/src/main/scala-2.12.19/tools/SettingsOps.scala b/plugin/src/main/scala-2.12.19/ch/epfl/scala/profilers/tools/SettingsOps.scala similarity index 100% rename from plugin/src/main/scala-2.12.19/tools/SettingsOps.scala rename to plugin/src/main/scala-2.12.19/ch/epfl/scala/profilers/tools/SettingsOps.scala diff --git a/plugin/src/main/scala-2.12.20/ch/epfl/scala/profilers/tools/SettingsOps.scala b/plugin/src/main/scala-2.12.20/ch/epfl/scala/profilers/tools/SettingsOps.scala new file mode 100644 index 0000000..aadf96d --- /dev/null +++ b/plugin/src/main/scala-2.12.20/ch/epfl/scala/profilers/tools/SettingsOps.scala @@ -0,0 +1,8 @@ +package ch.epfl.scala.profilers.tools + +import scala.tools.nsc.Global + +object SettingsOps { + def areStatisticsEnabled(g: Global): Boolean = + g.settings.areStatisticsEnabled +}