Skip to content

Commit

Permalink
use env variables for AWS creds
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Sep 26, 2024
1 parent e3c3f47 commit 91b17fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check-build-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: CI

on:
pull_request:
push:
branches:
- main
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/nightly-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
pull_request:

permissions: {}

Expand Down Expand Up @@ -56,12 +57,14 @@ jobs:
- name: Cache Coursier cache
uses: coursier/cache-action@v6

- name: S3 Integration tests
- name: AWS Connectors Integration tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
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"
sbt \
+ "aws-spi-pekko-http/it:test"

0 comments on commit 91b17fe

Please sign in to comment.