File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
tests/src/test/scala/org/apache/openwhisk/core/database/s3 Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 39
39
LOG_SECRET_ACCESS_KEY : ${{ secrets.LOG_SECRET_ACCESS_KEY }}
40
40
LOG_REGION : ${{ secrets.LOG_REGION }}
41
41
42
+ # some tests need also this even if they are empty on pull_requests...
43
+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
44
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
45
+ AWS_REGION : ${{ secrets.AWS_REGION }}
46
+
42
47
# github
43
48
GH_BUILD : ${{ github.event_name }}-${{ github.sha }}
44
49
GH_BRANCH : ${{ github.head_ref || github.ref_name }}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ trait S3Aws extends FlatSpec {
57
57
58
58
override protected def withFixture (test : NoArgTest ) = {
59
59
assume(
60
- secretAccessKey != null ,
60
+ secretAccessKey != null && secretAccessKey != " " ,
61
61
" 'AWS_SECRET_ACCESS_KEY' env not configured. Configure following " +
62
62
" env variables for test to run. 'AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY', 'AWS_REGION'" )
63
63
You can’t perform that action at this time.
0 commit comments