-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
136 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,20 @@ on: | |
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- migration-tool # remove before merging to master | ||
tags-ignore: [ v.* ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
check-code-style: | ||
name: Check Code Style | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3.1.0 | ||
with: | ||
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves | ||
fetch-depth: 0 | ||
|
@@ -25,13 +28,13 @@ jobs: | |
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 11 | ||
uses: olafurpg/setup-scala@v10 | ||
uses: coursier/setup-[email protected] | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v5 | ||
jvm: temurin:1.11.0 | ||
|
||
- name: Code style check and binary-compatibility check | ||
# Run locally with: sbt 'verifyCodeStyle ; mimaReportBinaryIssues' | ||
|
@@ -42,7 +45,7 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3.1.0 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -52,13 +55,13 @@ jobs: | |
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 11 | ||
uses: olafurpg/setup-scala@v10 | ||
uses: coursier/setup-[email protected] | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v5 | ||
jvm: temurin:1.11.0 | ||
|
||
- name: Compile all code with fatal warnings for Java 11, Scala 2.12 and Scala 2.13 | ||
# Run locally with: sbt 'clean ; +Test/compile ; +It/compile' | ||
|
@@ -69,7 +72,7 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3.1.0 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -79,13 +82,13 @@ jobs: | |
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 11 | ||
uses: olafurpg/setup-scala@v10 | ||
uses: coursier/setup-[email protected] | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v5 | ||
jvm: temurin:1.11.0 | ||
|
||
- name: Create all API docs for artifacts/website and all reference docs | ||
run: sbt docs/paradox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,13 @@ on: | |
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- migration-tool # remove before merging to master | ||
tags-ignore: [ v.* ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test: | ||
name: Build and Test | ||
|
@@ -16,13 +19,21 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- { java-version: [email protected], scala-version: 2.12.x, sbt-opts: '' } | ||
- { java-version: [email protected], scala-version: 2.13.x, sbt-opts: '' } | ||
- { java-version: [email protected], scala-version: 2.12.x, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } | ||
- { java-version: [email protected], scala-version: 2.13.x, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } | ||
# leaving out some combinations (note that `checks.yml` doesn't run H2 test) | ||
- { scalaVersion: "2.12", jdkVersion: "1.8.0", jvmName: "temurin:1.8.0", extraOpts: '' } | ||
- { scalaVersion: "2.12", jdkVersion: "1.11.0", jvmName: "temurin:1.11.0", extraOpts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } | ||
# { scalaVersion: "2.12", jdkVersion: "1.17.0", jvmName: "temurin:1.17.0", extraOpts: '' } | ||
|
||
- { scalaVersion: "2.13", jdkVersion: "1.8.0", jvmName: "temurin:1.8.0", extraOpts: '' } | ||
# { scalaVersion: "2.13", jdkVersion: "1.11.0", jvmName: "temurin:1.11.0", extraOpts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } | ||
- { scalaVersion: "2.13", jdkVersion: "1.17.0", jvmName: "temurin:1.17.0", extraOpts: '' } | ||
|
||
# { scalaVersion: "3.1", jdkVersion: "1.8.0", jvmName: "temurin:1.8.0", extraOpts: '' } | ||
# { scalaVersion: "3.1", jdkVersion: "1.11.0", jvmName: "temurin:1.11.0", extraOpts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } | ||
# { scalaVersion: "3.1", jdkVersion: "1.17.0", jvmName: "temurin:1.17.0", extraOpts: '' } | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3.1.0 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -32,16 +43,16 @@ jobs: | |
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Setup JDK ${{ matrix.java-version }} | ||
uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: ${{ matrix.java-version }} | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v5 | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK ${{ matrix.jdkVersion }} | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: ${{ matrix.jvmName }} | ||
|
||
- name: Run tests with Scala ${{ matrix.scala-version }} and Java ${{ matrix.java-version }} | ||
run: sbt "++${{ matrix.scala-version }} test" ${{ matrix.sbt-opts }} | ||
- name: Run tests with Scala ${{ matrix.scalaVersion }} on JDK ${{ matrix.jdkVersion }} | ||
run: sbt "++ ${{ matrix.scalaVersion }} test" ${{ matrix.extraOpts }} | ||
|
||
- name: Print logs on failure | ||
if: ${{ failure() }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,13 @@ on: | |
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- migration-tool # remove before merging to master | ||
tags-ignore: [ v.* ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
integration-test: | ||
name: Integration Tests | ||
|
@@ -21,7 +24,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3.1.0 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -31,13 +34,13 @@ jobs: | |
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Set up JDK [email protected] | ||
uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v5 | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 11 | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: temurin:1.11.0 | ||
|
||
- name: Start docker | ||
run: ./scripts/launch-mysql.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,13 @@ on: | |
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- migration-tool # remove before merging to master | ||
tags-ignore: [ v.* ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
integration-test: | ||
name: Integration Tests | ||
|
@@ -21,7 +24,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3.1.0 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -31,13 +34,13 @@ jobs: | |
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Set up JDK [email protected] | ||
uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v5 | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 11 | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: temurin:1.11.0 | ||
|
||
- name: Start docker | ||
run: ./scripts/launch-oracle.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,13 @@ on: | |
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- migration-tool # remove before merging to master | ||
tags-ignore: [ v.* ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
integration-test: | ||
name: Integration Tests | ||
|
@@ -21,7 +24,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3.1.0 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -31,13 +34,13 @@ jobs: | |
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Set up JDK [email protected] | ||
uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v5 | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 11 | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: temurin:1.11.0 | ||
|
||
- name: Start docker | ||
run: ./scripts/launch-postgres.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.