Skip to content

Commit

Permalink
fix e2e test (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Oct 20, 2023
1 parent 2ae630a commit 167f536
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
- uses: actions/setup-java@v3
with:
java-version: 8
java-version: 11
distribution: temurin
- name: Compile and test
run: |
sbt "core${{matrix.scala}}/test" "codeGen${{matrix.scala}}/test" "e2e${{matrix.scala}}/test" "e2e${{matrix.scala}}/test:runMain scalapb.validate.ScalaHarness"
sbt "core${{matrix.scala}}/test" "codeGen${{matrix.scala}}/test" "e2e${{matrix.scala}}/test" "e2e${{matrix.scala}}/Test/runMain scalapb.validate.ScalaHarness"
- name: Formatting
run: |
Expand Down
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ lazy val e2e = projectMatrix
.settings(stdSettings)
.settings(munitSettings)
.settings(
run / baseDirectory := (LocalRootProject / baseDirectory).value,
run / fork := true,
publish / skip := true,
crossScalaVersions := Seq(Scala212, Scala213),
codeGenClasspath := (codeGenJVM212 / Compile / fullClasspath).value,
Expand Down

0 comments on commit 167f536

Please sign in to comment.