@@ -3,6 +3,7 @@ name: Nightly Builds
3
3
on :
4
4
schedule :
5
5
- cron : " 0 0 * * *"
6
+ pull_request :
6
7
workflow_dispatch :
7
8
8
9
permissions : {}
11
12
pekko-cluster-metrics-sigar :
12
13
name : Pekko Cluster Metrics Test with Sigar
13
14
runs-on : ubuntu-22.04
14
- if : github.repository == 'apache /pekko'
15
+ if : github.repository == 'xapache /pekko'
15
16
steps :
16
17
- name : Checkout
17
18
uses : actions/checkout@v4
67
68
pekko-classic-remoting-tests :
68
69
name : Pekko Classic Remoting Tests
69
70
runs-on : ubuntu-22.04
70
- if : github.repository == 'apache /pekko'
71
+ if : github.repository == 'xapache /pekko'
71
72
strategy :
72
73
fail-fast : false
73
74
matrix :
@@ -166,23 +167,6 @@ jobs:
166
167
-Dio.netty.leakDetection.level=PARANOID \
167
168
clean "++ ${{ matrix.scalaVersion }} test" checkTestsHaveRun
168
169
169
- # comment out test report until an apache or GitHub published action (action-surefire-report) can be found or added allowlist from INFRA
170
- # - name: Test Reports
171
- # # Makes it easier to spot failures instead of looking at the logs.
172
- # if: ${{ failure() }}
173
- # uses: marcospereira/action-surefire-report@v1
174
- # with:
175
- # report_paths: '**/target/test-reports/TEST-*.xml'
176
- # fail_if_no_tests: false
177
-
178
- # # Archive test results so we can do some diagnostics later
179
- # - name: Upload test results
180
- # uses: actions/upload-artifact@v2
181
- # if: success() || failure() # run this step even if previous step failed
182
- # with:
183
- # name: test-results-${{ matrix.javaVersion }}-${{ matrix.scalaVersion }}
184
- # path: '**/target/test-reports/TEST-*.xml'
185
-
186
170
- name : Docs
187
171
# Docs generation requires JDK 11.
188
172
if : ${{ matrix.javaVersion == 11 }}
@@ -202,13 +186,9 @@ jobs:
202
186
-Dpekko.build.scalaVersion=${{ matrix.scalaVersion }} \
203
187
"++ ${{ matrix.scalaVersion }} ;publishLocal;publishM2"
204
188
205
- - name : Install scala-cli
189
+ - name : Install Scala-CLI
206
190
if : ${{ matrix.javaVersion == 11 }}
207
- run : |-
208
- curl -sS "https://virtuslab.github.io/scala-cli-packages/KEY.gpg" | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/scala-cli.gpg 2>/dev/null
209
- sudo curl -s --compressed -o /etc/apt/sources.list.d/scala_cli_packages.list "https://virtuslab.github.io/scala-cli-packages/debian/scala_cli_packages.list"
210
- sudo apt update
211
- sudo apt install scala-cli
191
+ uses : VirtusLab/scala-cli-setup@main
212
192
213
193
- name : Use Scala-CLI to verify jdk 9 classes
214
194
if : ${{ matrix.javaVersion == 11 }}
0 commit comments