-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from tgodzik/enable-windows
Make sure windows tests are run
- Loading branch information
Showing
4 changed files
with
42 additions
and
7 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 |
---|---|---|
|
@@ -18,14 +18,34 @@ jobs: | |
java: 8 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: olafurpg/setup-scala@v13 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
# We need to set proper Pagefile limits in advance. | ||
# Github actions default page file size is quite small, | ||
# it's not enough to run all tests, especially when using None GC. | ||
# We've observed that on Unix memory management is less strict, | ||
# you can reserve more memory than it's physically possible. | ||
# On Windows however you need to reserve/commit memory in advance - | ||
# it does not matter whether it would be used or not, the amount of all | ||
# reserved memory cannot exceed the amount of physically available storage. | ||
- name: Configure Pagefile | ||
if: matrix.os == 'windows-latest' | ||
uses: al-cheb/[email protected] | ||
with: | ||
minimum-size: 4GB | ||
maximum-size: 16GB | ||
- name: Test | ||
run: sbt +test | ||
checks: | ||
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 | ||
- run: ./bin/scalafmt --check | ||
- run: sbt scalafixCheckAll | ||
- run: sbt coreJVM/mimaReportBinaryIssues | ||
|
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