This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 22a7385113 simplify scala 3 build in CI (#1486)
22a7385113 is described below

commit 22a738511375baa23c5b84c87d44a065c0401e0e
Author: PJ Fanning <[email protected]>
AuthorDate: Tue Sep 17 21:52:06 2024 +0100

    simplify scala 3 build in CI (#1486)
    
    * simplify scala 3 build in CI
    
    * Update scala3-build.yml
---
 .github/workflows/scala3-build.yml   | 32 ++------------------
 .github/workflows/scala3-compile.yml | 57 ------------------------------------
 2 files changed, 2 insertions(+), 87 deletions(-)

diff --git a/.github/workflows/scala3-build.yml 
b/.github/workflows/scala3-build.yml
index bb9e8850ae..b3e8a31a58 100644
--- a/.github/workflows/scala3-build.yml
+++ b/.github/workflows/scala3-build.yml
@@ -3,6 +3,7 @@ name: Build and test Pekko with Scala 3
 on:
   schedule:
     - cron: "0 0 * * *"
+  pull_request:
   workflow_dispatch:
 
 permissions: {}
@@ -18,19 +19,6 @@ jobs:
     runs-on: ubuntu-20.04
     if: github.repository == 'apache/pekko'
     strategy:
-      matrix:
-        command:
-          - ;testkit/test;actor-tests/test
-          - ;actor-testkit-typed/test;actor-typed-tests/test
-          - ;bench-jmh/test
-          - 
;cluster/test;cluster-tools/test;cluster-typed/test;distributed-data/test;cluster-metrics/test;cluster-sharding/test;cluster-sharding-typed/test
-          - ;discovery/test;coordination/test
-          - 
;persistence/test;persistence-shared/test;persistence-query/test;persistence-typed/test;persistence-testkit/test;persistence-tck/test;persistence-typed-tests/test
-          - ;pki/test;slf4j/test
-          - ;serialization-jackson/test
-          - 
;stream/test;stream-testkit/test;stream-tests/test;stream-typed/test;stream-typed-tests/test
-          - ;stream-tests-tck/test
-          - ;remote/test;remote-tests/test;protobuf-v3/test
       fail-fast: true
     steps:
       - name: Checkout
@@ -66,20 +54,4 @@ jobs:
           -Dmultinode.Xms256M \
           -Dmultinode.Xmx256M \
           -Dmultinode.XX:+AlwaysActAsServerClassMachine \
-          "++ 3.x ${{ matrix.command }}"
-
-      # comment out email actions until we have an email address to use (and 
we need to get INFRA to whitelist dawidd6/action-send-mail)
-      #- name: Email on failure
-      #  if: ${{ failure() }}
-      #  uses: dawidd6/action-send-mail@v3
-      #  with:
-      #    server_address: smtp.gmail.com
-      #    server_port: 465
-      #    username: ${{secrets.MAIL_USERNAME}}
-      #    password: ${{secrets.MAIL_PASSWORD}}
-      #    subject: "Failed: ${{ github.workflow }} / ${{ github.job }}"
-      #    to: [email protected]
-      #    from: Akka CI (GHActions)
-      #    body: |
-      #      Job ${{ github.job }} in workflow ${{ github.workflow }} of 
${{github.repository}} failed!
-      #      
https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
+          "++ 3.x test"
diff --git a/.github/workflows/scala3-compile.yml 
b/.github/workflows/scala3-compile.yml
deleted file mode 100644
index c4e5df0b2d..0000000000
--- a/.github/workflows/scala3-compile.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-name: Compile Pekko with Scala 3
-
-on:
-  pull_request:
-
-permissions: {}
-
-concurrency:
-  # Only run once for latest commit per ref and cancel other (previous) runs.
-  group: ci-scala3-${{ github.ref }}
-  cancel-in-progress: true
-
-jobs:
-  compile:
-    name: Compile
-    runs-on: ubuntu-20.04
-    if: github.repository == 'apache/pekko'
-    strategy:
-      matrix:
-        command:
-          - ;testkit/Test/compile;actor-tests/Test/compile
-          - ;actor-testkit-typed/Test/compile;actor-typed-tests/Test/compile
-          - ;bench-jmh/Test/compile
-          - 
;cluster/Test/compile;cluster-tools/Test/compile;cluster-typed/Test/compile;distributed-data/Test/compile;cluster-metrics/Test/compile;cluster-sharding/Test/compile;cluster-sharding-typed/Test/compile
-          - ;discovery/Test/compile;coordination/Test/compile
-          - 
;persistence/Test/compile;persistence-shared/Test/compile;persistence-query/Test/compile;persistence-typed/Test/compile;persistence-testkit/Test/compile;persistence-tck/Test/compile;persistence-typed-tests/Test/compile
-          - ;pki/Test/compile;slf4j/Test/compile
-          - ;serialization-jackson/Test/compile
-          - 
;stream/Test/compile;stream-testkit/Test/compile;stream-tests/Test/compile;stream-typed/Test/compile
-          - ;stream-tests-tck/Test/compile
-          - 
;remote/Test/compile;remote-tests/Test/compile;protobuf-v3/Test/compile
-      fail-fast: true
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v4
-        with:
-          fetch-depth: 0
-          fetch-tags: true
-
-      - name: Setup Java 11
-        uses: actions/setup-java@v4
-        with:
-          distribution: temurin
-          java-version: 11
-
-      - name: Cache Coursier cache
-        uses: coursier/cache-action@v6
-
-      - name: Enable jvm-opts
-        run: cp .jvmopts-ci .jvmopts
-
-      - name: Compile on Scala 3
-        env:
-          DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
-        run: |
-          sbt \
-          "++ 3.x ${{ matrix.command }}"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to