Skip to content

Commit

Permalink
Migrate most tests to GH Actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Olafur Pall Geirsson committed Mar 19, 2020
1 parent 4d19177 commit b2cff42
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 49 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: ${{ matrix.command }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
command:
- "ci-211"
- "ci-212"
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v7
- run: sbt ${{ matrix.command }}
jdk11:
name: JDK11 tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v7
with:
java-version: adopt@1.11
- run: sbt ci-212
windows:
name: Windows tests
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v7
- run: ./sbt ci-212-windows
shell: bash
checks:
name: Scalafmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v7
- run: ./scalafmt --test
9 changes: 4 additions & 5 deletions .jvmopts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
-Dfile.encoding=UTF8
-Xss8m
-Xss4m
-Xms1G
-Xmx4G
-XX:ReservedCodeCacheSize=250M
-Xmx2G
-XX:ReservedCodeCacheSize=1024m
-XX:+TieredCompilation
-XX:-UseGCOverheadLimit
-XX:+CMSClassUnloadingEnabled
-Dfile.encoding=UTF-8
15 changes: 1 addition & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,8 @@ before_install:
fi
jobs:
include:
- name: Scalafmt
script: ./scalafmt --test
- name: 2.11
script: ./sbt ci-211
- name: 2.12
script: ./sbt ci-212
- jdk: openjdk11
name: 2.12
script: ./sbt ci-212

# Disabled until stable v0.6
# - env: TEST="mima"
# script: sbt mima
- stage: release
script: ./sbt docs/docusaurusPublishGhpages
script: ./sbt ci-release docs/docusaurusPublishGhpages

cache:
directories:
Expand Down
30 changes: 0 additions & 30 deletions appveyor.yml

This file was deleted.

0 comments on commit b2cff42

Please sign in to comment.