diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50ba04f..f300da7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,9 @@ jobs: if: matrix.java == 'temurin@17' && matrix.os == 'ubuntu-latest' run: sbt '++ ${{ matrix.scala }}' doc + - name: Scripted tests + run: sbt scripted + - name: Make target directories if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') run: mkdir -p modules/plugin/target modules/weaver/target/jvm-2.13 modules/hashing/target/jvm-3 modules/munit/target/jvm-2.12 modules/scalatest/target/jvm-2.13 modules/weaver/target/js-3 modules/munit/target/js-2.12 modules/scalatest/target/js-2.12 modules/core/target/jvm-2.12 modules/hashing/target/js-3 modules/hashing/target/jvm-2.12 modules/core/target/jvm-3 modules/munit/target/jvm-3 modules/weaver/target/js-2.13 modules/hashing/target/js-2.13 modules/core/target/js-2.13 modules/hashing/target/jvm-2.13 modules/scalatest/target/jvm-3 modules/core/target/js-2.12 modules/weaver/target/jvm-3 modules/scalatest/target/jvm-2.12 modules/munit/target/js-3 modules/weaver/target/js-2.12 modules/weaver/target/jvm-2.12 modules/munit/target/jvm-2.13 modules/munit/target/js-2.13 modules/core/target/jvm-2.13 modules/hashing/target/js-2.12 modules/scalatest/target/js-3 modules/scalatest/target/js-2.13 modules/core/target/js-3 project/target diff --git a/build.sbt b/build.sbt index 4fa75c8..2772858 100644 --- a/build.sbt +++ b/build.sbt @@ -48,6 +48,8 @@ inThisBuild( ), githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17")), githubWorkflowPublishTargetBranches += RefPredicate.Equals(Ref.Branch("main")), + ThisBuild / githubWorkflowBuild += WorkflowStep + .Run(List("sbt scripted"), name = Some("Scripted tests")), tlBaseVersion := "0.1", tlUntaggedAreSnapshots := false, tlFatalWarnings := sys.env.get("GITHUB_ACTIONS").contains("true"),