Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/binary-compatibility-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
name: Binary Compatibility

on:
pull_request:
push:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-prValidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
name: Pull Requests

on:
pull_request:
workflow_dispatch:

permissions: {}

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ name: Scalafmt
permissions: {}

on:
pull_request:
branches: ['**']
workflow_dispatch:

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-doc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
name: Generate doc check

on:
pull_request:
workflow_dispatch:

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/headers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
name: Headers

on:
pull_request:
workflow_dispatch:

permissions: {}

Expand Down
68 changes: 68 additions & 0 deletions .github/workflows/remote-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# license agreements; and to You under the Apache License, version 2.0:
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# This file is part of the Apache Pekko project, which was derived from Akka.
#

name: Remote Test

on:
workflow_dispatch:
pull_request:

permissions: {}

concurrency:
# Only run once for latest commit per ref and cancel other (previous) runs.
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
remote-test:
name: Check / Tests
runs-on: ubuntu-22.04
strategy:
matrix:
scalaVersion: ["2.13.x"]
checkoutRef: ["v2.0.0-M2", "v2.0.0-M3", "main"]
steps:
- name: Checkout
uses: actions/checkout@v6.0.3
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: 0
persist-credentials: false
ref: ${{ matrix.checkoutRef }}

- name: Setup Java 17
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17

- name: Install sbt
uses: sbt/setup-sbt@af116cce31c00823d3903ce687f9cda3a4f19f1b # v1.2.1

- name: Cache Coursier cache
uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # 8.1.1

- name: Enable jvm-opts
run: cp .jvmopts-ci .jvmopts

- name: sbt remote/test
run: |-
sbt \
-Dpekko.mima.enabled=false \
-Dpekko.test.multi-in-test=false \
-Dpekko.test.timefactor=2 \
-Dpekko.actor.testkit.typed.timefactor=2 \
-Dpekko.test.tags.exclude=gh-exclude,timing \
-Dpekko.cluster.assert=on \
-Dsbt.override.build.repos=false \
-Dpekko.test.multi-node=false \
-Dsbt.log.noformat=false \
-Dpekko.log.timestamps=true \
"++ ${{ matrix.scalaVersion }} remote/test"