Skip to content

Commit

Permalink
Merge pull request #667 from SethTisue/temurin
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand authored Oct 14, 2021
2 parents c8ecea1 + 137aa94 commit 5169775
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [adopt@1.8, [email protected]]
java: [8, 11, 17]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: temurin
java-version: ${{matrix.java}}
- uses: coursier/cache-action@v6
- run: "sbt +test mimaReportBinaryIssues 'set sbtplugin/scriptedSbt := \"1.2.8\"' 'scripted sbt-mima-plugin/minimal'"
# note use of an old sbt version, as a smoke test
- run: "sbt +test mimaReportBinaryIssues 'set sbtplugin/scriptedSbt := \"1.3.13\"' 'scripted sbt-mima-plugin/minimal'"
testFunctional:
needs: build
strategy:
Expand All @@ -29,7 +31,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 8
- uses: coursier/cache-action@v6
- run: sbt "functional-tests/runMain com.typesafe.tools.mima.lib.UnitTests -${{ matrix.scala }}"
testScripted:
Expand All @@ -41,14 +46,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 8
- uses: coursier/cache-action@v6
- run: sbt "scripted sbt-mima-plugin/*${{ matrix.scripted }}"
testIntegration:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 8
- uses: coursier/cache-action@v6
- run: sbt IntegrationTest/test

0 comments on commit 5169775

Please sign in to comment.