Skip to content

Commit 638ecf5

Browse files
committed
run main cluster tests for PR
1 parent bb117cf commit 638ecf5

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

.github/workflows/build-test-prValidation.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,53 @@ jobs:
102102
-Dio.netty.leakDetection.level=PARANOID \
103103
validatePullRequest
104104
105+
pekko-classic-remoting-tests:
106+
name: Pekko Classic Remoting Tests
107+
runs-on: ubuntu-22.04
108+
if: github.repository == 'apache/pekko'
109+
strategy:
110+
fail-fast: false
111+
matrix:
112+
command:
113+
- cluster/test distributed-data/test cluster-tools/test cluster-metrics/test
114+
steps:
115+
- name: Checkout
116+
uses: actions/checkout@v4
117+
with:
118+
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
119+
fetch-depth: 0
120+
fetch-tags: true
121+
122+
- name: Setup Java 11
123+
uses: actions/setup-java@v4
124+
with:
125+
distribution: temurin
126+
java-version: 11
127+
128+
- name: Install sbt
129+
uses: sbt/setup-sbt@v1
130+
131+
- name: Cache Coursier cache
132+
uses: coursier/cache-action@v6
133+
134+
- name: Enable jvm-opts
135+
run: cp .jvmopts-ci .jvmopts
136+
137+
- name: sbt ${{ matrix.command }}
138+
env:
139+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
140+
# note that this is not running any multi-jvm tests because multi-in-test=false
141+
run: |-
142+
sbt \
143+
-Djava.security.egd=file:/dev/./urandom \
144+
-Dpekko.remote.artery.enabled=off \
145+
-Dpekko.test.timefactor=2 \
146+
-Dpekko.actor.testkit.typed.timefactor=2 \
147+
-Dpekko.test.tags.exclude=gh-exclude,timing \
148+
-Dpekko.test.multi-in-test=false \
149+
-Dpekko.cluster.assert=on \
150+
clean ${{ matrix.command }}
151+
105152
jdk-21-extra-tests:
106153
name: Java 21 Extra Tests (including all tests that need Java 9+)
107154
runs-on: ubuntu-22.04

.github/workflows/nightly-builds.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Nightly Builds
33
on:
44
schedule:
55
- cron: "0 0 * * *"
6-
pull_request:
76
workflow_dispatch:
87

98
permissions: {}

0 commit comments

Comments
 (0)