Skip to content

Commit

Permalink
Enable HTML test report
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoyuki Morita <[email protected]>
  • Loading branch information
ykmr1224 committed Nov 12, 2024
1 parent 182689c commit a3c0653
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,10 @@ jobs:

- name: Integ Test
run: sbt integtest/integration

- name: Upload test report
if: always() # Ensures the artifact is saved even if tests fail
uses: actions/upload-artifact@v3
with:
name: test-reports
path: target/test-reports # Adjust this path if necessary
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ lazy val commonSettings = Seq(
compileScalastyle := (Compile / scalastyle).toTask("").value,
Compile / compile := ((Compile / compile) dependsOn compileScalastyle).value,
testScalastyle := (Test / scalastyle).toTask("").value,
Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/test-reports"),
Test / test := ((Test / test) dependsOn testScalastyle).value,
libraryDependencies += "com.vladsch.flexmark" % "flexmark-all" % "0.64.8",
dependencyOverrides ++= Seq(
"com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion,
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion
Expand Down

0 comments on commit a3c0653

Please sign in to comment.