Skip to content

Commit

Permalink
Merge pull request #392 from scalacenter/sbt15-jdk17andlater
Browse files Browse the repository at this point in the history
CI: run more scripted tests on recent JDKs
  • Loading branch information
bjaglin authored Feb 24, 2024
2 parents 5c2fe24 + bf323ab commit e7a5851
Show file tree
Hide file tree
Showing 2 changed files with 6 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 @@ -31,7 +31,7 @@ jobs:
- uses: coursier/setup-action@v1
with:
jvm: temurin:17
- run: sbt "test; scripted sbt-scalafix/*"
- run: sbt "test; scripted sbt-*/* skip-windows/*"
jdk21:
name: JDK21 tests
runs-on: ubuntu-latest
Expand All @@ -40,7 +40,7 @@ jobs:
- uses: olafurpg/setup-scala@v14
with:
jvm: temurin:17
- run: sbt "test; scripted sbt-scalafix/*"
- run: sbt "test; scripted sbt-*/* skip-windows/*"
windows:
name: Windows tests
runs-on: windows-latest
Expand Down
4 changes: 4 additions & 0 deletions src/sbt-test/skip-windows/caching/test
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# make sure unmanagedSources does not silently exclude 000-chmoded files on recent
# sbt versions (where input files are stamped with Hash by default)
> set unmanagedSources / inputFileStamper := sbt.nio.FileStamper.LastModified

# a re-run after a no-op, successful run should be cached
> set scalafixConfig := Some(file("files/DisableSyntaxNull.scalafix.conf"))
$ mkdir src/main/scala
Expand Down

0 comments on commit e7a5851

Please sign in to comment.