-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support ZIO 2 * Fix docs * scalafix * Fix compilation errors and improve Dotty * Fix error in CoproductTest * Increase heap * Reduce samples * Fix * Purge unsafeRun and ignore two formatting difference failures * Exclude compiler-crashing shapeless test from 2.11, 2.12; simplify workflow * Exclude a 2.12 compiler crasher * Remove 2.12 compiler crasher * Try again * Third time's the charm
- Loading branch information
Showing
82 changed files
with
935 additions
and
955 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
name: CI | ||
|
||
env: | ||
JDK_JAVA_OPTIONS: '-XX:+PrintCommandLineFlags -Xmx2G' # JDK_JAVA_OPTIONS is _the_ env. variable to use for modern Java | ||
JVM_OPTS: '-XX:+PrintCommandLineFlags -Xmx2G' # for Java 8 only (sadly, it is not modern enough for JDK_JAVA_OPTIONS) | ||
JDK_JAVA_OPTIONS: '-XX:+PrintCommandLineFlags -Xmx4G' # JDK_JAVA_OPTIONS is _the_ env. variable to use for modern Java | ||
JVM_OPTS: '-XX:+PrintCommandLineFlags -Xmx4G' # for Java 8 only (sadly, it is not modern enough for JDK_JAVA_OPTIONS) | ||
|
||
on: | ||
pull_request: | ||
|
@@ -48,7 +48,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
java: ['[email protected]', '[email protected]'] | ||
scala: ['2.11.12', '2.12.13', '2.13.5', '3.0.2'] | ||
scala: ['2.11.12', '2.12.13', '2.13.5', '3.1.0'] | ||
platform: ['JS', 'JVM', 'Native'] | ||
steps: | ||
- name: Checkout current branch | ||
|
@@ -61,15 +61,21 @@ jobs: | |
java-version: ${{ matrix.java }} | ||
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Run tests | ||
if: ${{ !startsWith(matrix.scala, '3.0.') && !startsWith(matrix.scala, '2.11.') }} | ||
run: sbt ++${{ matrix.scala }}! test${{ matrix.platform }} | ||
- name: Run 2.11 tests | ||
if: ${{ startsWith(matrix.scala, '2.11.') }} | ||
run: sbt ++${{ matrix.scala }}! test${{ matrix.platform }}211 | ||
- name: Run dotty tests | ||
if: ${{ startsWith(matrix.scala, '3.0.') && matrix.platform == 'JVM' }} | ||
run: sbt ++${{ matrix.scala }}! testDotty | ||
- name: Run JS tests | ||
if: ${{ matrix.platform == 'JS' && !startsWith(matrix.scala, '3.') }} | ||
run: sbt ++${{ matrix.scala }}! testJS | ||
- name: Run 2.11 JVM tests | ||
if: ${{ matrix.platform == 'JVM' && startsWith(matrix.scala, '2.11') }} | ||
run: sbt ++${{ matrix.scala }}! testJVM211 | ||
- name: Run 2.12 JVM tests | ||
if: ${{ matrix.platform == 'JVM' && startsWith(matrix.scala, '2.12') }} | ||
run: sbt ++${{ matrix.scala }}! testJVM212 | ||
- name: Run 2.13 JVM tests | ||
if: ${{ matrix.platform == 'JVM' && startsWith(matrix.scala, '2.13') }} | ||
run: sbt ++${{ matrix.scala }}! testJVM213 | ||
- name: Run 3.x JVM tests | ||
if: ${{ matrix.platform == 'JVM' && startsWith(matrix.scala, '3.') }} | ||
run: sbt ++${{ matrix.scala }}! testJVM3x | ||
|
||
ci: | ||
runs-on: ubuntu-20.04 | ||
|
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
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
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
Oops, something went wrong.