Skip to content

Nightly Builds

Nightly Builds #602

name: Nightly Builds
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
permissions: {}
jobs:
test-compile:
name: Compile
runs-on: ubuntu-22.04
if: github.repository == 'apache/pekko-connectors'
strategy:
fail-fast: false
matrix:
JDK: [ 8, 11, 17, 21 ]
env:
JAVA_OPTS: -Xms2G -Xmx3G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- name: Setup Java ${{ matrix.JDK }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.JDK }}
- name: Install sbt
uses: sbt/setup-sbt@v1
- name: Cache Coursier cache
uses: coursier/cache-action@v6
- name: "compile, including tests. Run locally with: sbt +Test/compile"
run: sbt +Test/compile
integration-tests:
name: Pekko Connectors Integration tests
runs-on: ubuntu-22.04
if: github.repository == 'apache/pekko-connectors'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Java 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
- name: Install sbt
uses: sbt/setup-sbt@v1
- name: Cache Coursier cache
uses: coursier/cache-action@v6
- name: S3 Integration tests
run: |-
sbt \
-Dpekko.connectors.s3.aws.credentials.provider=static \
-Dpekko.connectors.s3.aws.credentials.access-key-id=${{ secrets.AWS_ACCESS_KEY }} \
-Dpekko.connectors.s3.aws.credentials.secret-access-key=${{ secrets.AWS_SECRET_KEY }} \
-Dpekko.stream.connectors.s3.scaladsl.AWSS3IntegrationSpec.enableListAllMyBucketsTests=false \
-Dpekko.stream.connectors.s3.scaladsl.AWSS3IntegrationSpec.enableMFATests=false \
+ "s3/Test/runMain org.scalatest.tools.Runner -o -s org.apache.pekko.stream.connectors.s3.scaladsl.AWSS3IntegrationSpec"