Skip to content

Commit 021abb3

Browse files
committed
run main cluster tests for PR
1 parent 2ac96a7 commit 021abb3

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