From 1e238a12912c060795dc62ea85b84b1e708db9d4 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Fri, 10 Nov 2023 17:51:25 +0000 Subject: [PATCH] Simplify coverage workflow --- .github/workflows/ci.yml | 3 +-- build.sbt | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f314a78f..e23a9fd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -363,7 +363,6 @@ jobs: strategy: matrix: os: [ubuntu-latest] - scala: [2.13.12] java: [temurin@11] runs-on: ${{ matrix.os }} steps: @@ -391,6 +390,6 @@ jobs: export SERVER_CERT=$(cat world/server.crt) docker-compose up -d - - run: sbt '++ ${{ matrix.scala }}' coverage skunkJVM/test coverageReport + - run: sbt coverage skunkJVM/test coverageReport - uses: codecov/codecov-action@v3 diff --git a/build.sbt b/build.sbt index d711c97b..8ce905e0 100644 --- a/build.sbt +++ b/build.sbt @@ -40,7 +40,8 @@ ThisBuild / githubWorkflowAddedJobs += WorkflowJob( id = "coverage", name = s"Generate coverage report (2.13 JVM only)", - scalas = List(`scala-2.13`), + scalas = Nil, + sbtStepPreamble = Nil, steps = githubWorkflowJobSetup.value.toList ++ List( WorkflowStep.Sbt(List("coverage", "skunkJVM/test", "coverageReport")),