File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,11 @@ jobs:
313313 runs-on : ubuntu-20.04
314314 timeout-minutes : 60
315315 if : (needs['latest-tag-sha'].outputs.sha != github.sha)
316+ env :
317+ CLOUD_DATABASES : >
318+ firebolt
319+ # Athena (just to check for secrets availability)
320+ DRIVERS_TESTS_ATHENA_CUBEJS_AWS_KEY : ${{ secrets.DRIVERS_TESTS_ATHENA_CUBEJS_AWS_KEY }}
316321
317322 strategy :
318323 matrix :
@@ -370,6 +375,10 @@ jobs:
370375 retry_wait_seconds : 15
371376 timeout_minutes : 30
372377 command : ./.github/actions/integration/${{ matrix.db }}.sh
378+ # It's enough to test for any one secret because they are set all at once or not set all
379+ if : |
380+ (contains(env.CLOUD_DATABASES, matrix.db) && env.DRIVERS_TESTS_ATHENA_CUBEJS_AWS_KEY != '') ||
381+ (!contains(env.CLOUD_DATABASES, matrix.db))
373382 env :
374383 # Firebolt Integration
375384 DRIVERS_TESTS_FIREBOLT_CUBEJS_FIREBOLT_ENGINE_NAME : ${{ secrets.DRIVERS_TESTS_FIREBOLT_CUBEJS_FIREBOLT_ENGINE_NAME }}
You can’t perform that action at this time.
0 commit comments