diff --git a/.github/workflows/build-test-prValidation.yml b/.github/workflows/build-test-prValidation.yml index fd8552257b..b84938397a 100644 --- a/.github/workflows/build-test-prValidation.yml +++ b/.github/workflows/build-test-prValidation.yml @@ -102,6 +102,53 @@ jobs: -Dio.netty.leakDetection.level=PARANOID \ validatePullRequest + pekko-classic-remoting-tests: + name: Pekko Classic Remoting Tests + runs-on: ubuntu-22.04 + if: github.repository == 'apache/pekko' + strategy: + fail-fast: false + matrix: + command: + - cluster/test distributed-data/test cluster-tools/test cluster-metrics/test + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves + fetch-depth: 0 + fetch-tags: true + + - name: Setup Java 11 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 11 + + - name: Install sbt + uses: sbt/setup-sbt@v1 + + - name: Cache Coursier cache + uses: coursier/cache-action@v6 + + - name: Enable jvm-opts + run: cp .jvmopts-ci .jvmopts + + - name: sbt ${{ matrix.command }} + env: + DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }} + # note that this is not running any multi-jvm tests because multi-in-test=false + run: |- + sbt \ + -Djava.security.egd=file:/dev/./urandom \ + -Dpekko.remote.artery.enabled=off \ + -Dpekko.test.timefactor=2 \ + -Dpekko.actor.testkit.typed.timefactor=2 \ + -Dpekko.test.tags.exclude=gh-exclude,timing \ + -Dpekko.test.multi-in-test=false \ + -Dpekko.cluster.assert=on \ + clean ${{ matrix.command }} + jdk-21-extra-tests: name: Java 21 Extra Tests (including all tests that need Java 9+) runs-on: ubuntu-22.04 diff --git a/.github/workflows/nightly-builds.yml b/.github/workflows/nightly-builds.yml index c473d1d1d0..12cb31073c 100644 --- a/.github/workflows/nightly-builds.yml +++ b/.github/workflows/nightly-builds.yml @@ -3,7 +3,6 @@ name: Nightly Builds on: schedule: - cron: "0 0 * * *" - pull_request: workflow_dispatch: permissions: {}