* use GH Actions to compile and tests with Scala 3 * Update .github/workflows/scala3-build.yml Co-authored-by: Andrea Peruffo <andrea.peruffo1982@gmail.com> * rename .jvmopts-travis to .jvmopts-ci * Restore the whitesource stage * Small updates to gh action workflow * Mark BoundedBlockingQueueSpec timing-sensitive and exclude * Avoid race condition stopping/starting test actors Co-authored-by: Andrea Peruffo <andrea.peruffo1982@gmail.com> Co-authored-by: Ignasi Marimon-Clos <ignasi@lightbend.com> Co-authored-by: Arnout Engelen <arnout@bzzt.net>
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
name: Build Akka with Scala 3
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
tags-ignore: [ v.* ]
|
|
|
|
jobs:
|
|
compile-and-test-with-scala3:
|
|
name: Compile and test with Scala 3
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up JDK 11
|
|
uses: olafurpg/setup-scala@v10
|
|
with:
|
|
java-version: adopt@1.11.0-9
|
|
|
|
- name: Cache Coursier cache
|
|
uses: coursier/cache-action@v6.2
|
|
|
|
- name: Compile and test selected modules on Scala 3
|
|
run: |
|
|
sbt -jvm-opts .jvmopts-ci \
|
|
-Dakka.build.scalaVersion=3.0 \
|
|
-Dakka.test.tags.exclude=performance,timing,long-running \
|
|
akka-actor-tests/test \
|
|
akka-actor-testkit-typed/test \
|
|
akka-actor-typed/compile \
|
|
akka-actor-typed-tests/test \
|
|
akka-discovery/test \
|
|
akka-pki/test \
|
|
akka-protobuf/test \
|
|
akka-protobuf-v3/test \
|
|
akka-slf4j/test \akka-stream/test \
|
|
akka-stream-tests-tck/test \
|
|
akka-coordination/test \
|
|
akka-serialization-jackson/test:compile \
|
|
akka-testkit/test \
|
|
akka-stream-testkit/test \
|
|
akka-remote/compile
|