Skip to content

Commit 4bde1dd

Browse files
committed
fix github action
1 parent 701efe3 commit 4bde1dd

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/connector-tests.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,24 @@ jobs:
162162
-f description="Running connector tests..." \
163163
-f context="${{ matrix.connector }} Test Report"
164164
165-
- name: Test Connector
165+
- name: Fetch Connector Secrets
166166
if: steps.no_changes.outputs.status != 'cancelled'
167167
timeout-minutes: 90
168-
working-directory: airbyte/airbyte-integrations/connectors/${{ matrix.connector }}
168+
working-directory: airbyte-python-cdk
169+
env:
170+
GCP_GSM_CREDENTIALS: ${{ secrets.GCP_GSM_CREDENTIALS }}
171+
POETRY_DYNAMIC_VERSIONING_BYPASS: "0.0.0"
172+
run: |
173+
poetry run airbyte-cdk secrets fetch ${{ matrix.connector }}
174+
175+
- name: Test Connector
176+
if: steps.no_changes.outputs.status != 'cancelled'
177+
working-directory: airbyte-python-cdk
169178
env:
170179
GCP_GSM_CREDENTIALS: ${{ secrets.GCP_GSM_CREDENTIALS }}
171180
POETRY_DYNAMIC_VERSIONING_BYPASS: "0.0.0"
172181
run: |
173-
poetry run airbyte-cdk connector test ${{matrix.connector}}
182+
poetry run airbyte-cdk connector test ${{ matrix.connector }}
174183
175184
# Update the test report status with results
176185
- name: Update Test Report Status

0 commit comments

Comments
 (0)