Roiocam commented on code in PR #187:
URL: 
https://github.com/apache/pekko-connectors-kafka/pull/187#discussion_r1624558212


##########
.github/workflows/nightly-pekko.yml:
##########
@@ -0,0 +1,91 @@
+name: Nightly Test
+
+on:
+  workflow_dispatch:
+  schedule:
+    - cron: "0 2 * * *"
+    
+permissions: {}
+
+concurrency:
+  group: ${{ github.workflow }} @ ${{ github.ref }}
+  cancel-in-progress: true
+
+env:
+  PEKKO_TEST_TIMEFACTOR: 10.0
+  EVENT_NAME: ${{ github.event_name }}
+
+jobs:  
+  test:
+    name: Build and Test with Pekko 1.0
+    runs-on: ubuntu-22.04
+    strategy:
+      fail-fast: false
+      matrix:
+        include:
+          - { java-version: 8,  scala-version: 2.12, pekko-version: '1.0.x' }
+          - { java-version: 8,  scala-version: 2.12, pekko-version: 'main' }
+          - { java-version: 8,  scala-version: 2.13, pekko-version: '1.0.x' }
+          - { java-version: 8,  scala-version: 2.13, pekko-version: 'main' }
+          - { java-version: 8,  scala-version: 3.3, pekko-version: '1.0.x' }
+          - { java-version: 8,  scala-version: 3.3, pekko-version: 'main' }
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
+          fetch-tags: true
+
+      - name: Checkout GitHub merge
+        if: github.event.pull_request
+        run: |-
+          git fetch origin pull/${{ github.event.pull_request.number 
}}/merge:scratch
+          git checkout scratch
+
+      - name: Setup Java ${{ matrix.java-version }}
+        uses: actions/setup-java@v4
+        with:
+          distribution: temurin
+          java-version: ${{ matrix.java-version }}
+
+      - name: Cache Coursier cache
+        uses: coursier/cache-action@v6
+
+      - name: Run tests with Scala ${{ matrix.scala-version }} and Java ${{ 
matrix.java-version }}
+        run: sbt -Dpekko.build.pekko.version=1.0.x "++${{ matrix.scala-version 
}} test" ${{ matrix.sbt-opts }}

Review Comment:
   ```suggestion
         - name: Run tests with Scala ${{ matrix.scala-version }} and Java ${{ 
matrix.java-version }} on ${{ matrix.pekko-version }}
           run: sbt -Dpekko.build.pekko.version=${{ matrix.pekko-version }} 
"++${{ matrix.scala-version }} test" ${{ matrix.sbt-opts }}
   ```
   
   This should be made it work.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to