Skip to content

Commit

Permalink
Simplify coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Nov 10, 2023
1 parent 94e1988 commit 1e238a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.12]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -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
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
Expand Down

0 comments on commit 1e238a1

Please sign in to comment.