Skip to content

Commit

Permalink
internal: Add Scala 3.4.2 CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
xerial committed Jul 22, 2024
1 parent dc22cb2 commit 9547b9c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,26 @@ jobs:
check_name: Test Report Scala 3.x
annotate_only: true
detailed_summary: true
test_3_latest:
name: Scala 3.4.x
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- name: Scala 3.4.x test
# Test only Scala 3 supported projects
run: SCALA_VERSION=3.4.2 ./sbt "projectDotty/test; dottyTest/run"
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
report_paths: '**/target/test-reports/TEST-*.xml'
check_name: Test Report Scala 3.4.x
annotate_only: true
detailed_summary: true
test_3_latest_jdk:
name: Scala 3 / JDK17
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import xerial.sbt.pack.PackPlugin.{projectSettings, publishPackArchiveTgz}

val SCALA_2_12 = "2.12.19"
val SCALA_2_13 = "2.13.14"
val SCALA_3 = "3.3.3"
val SCALA_3 = sys.env.getOrElse("SCALA_VERSION", "3.3.3")
val uptoScala2 = SCALA_2_13 :: SCALA_2_12 :: Nil
val targetScalaVersions = SCALA_3 :: uptoScala2

Expand Down

0 comments on commit 9547b9c

Please sign in to comment.