@@ -154,22 +154,6 @@ jobs:
154154 cd airbyte-python-cdk
155155 poetry install --all-extras
156156
157- # Create initial pending status for test report
158- - name : Create Pending Test Report Status
159- if : steps.no_changes.outputs.status != 'cancelled'
160- env :
161- GH_TOKEN : ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}
162- run : |
163- HEAD_SHA="${{ github.event.pull_request.head.sha || github.sha }}"
164- gh api \
165- --method POST \
166- -H "Accept: application/vnd.github+json" \
167- -H "X-GitHub-Api-Version: 2022-11-28" \
168- repos/${{ github.repository }}/statuses/$HEAD_SHA \
169- -f state="pending" \
170- -f description="Running connector tests..." \
171- -f context="${{ matrix.connector }} Test Report"
172-
173157 - name : Fetch Connector Secrets
174158 if : steps.no_changes.outputs.status != 'cancelled'
175159 timeout-minutes : 90
@@ -229,20 +213,3 @@ jobs:
229213 POETRY_DYNAMIC_VERSIONING_BYPASS : " 0.0.0"
230214 run : |
231215 poetry run airbyte-cdk image test ${{ matrix.connector }}
232-
233- # Update the test report status with results
234- - name : Update Test Report Status
235- if : always() && steps.no_changes.outputs.status != 'cancelled'
236- env :
237- GH_TOKEN : ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}
238- run : |
239- HEAD_SHA="${{ github.event.pull_request.head.sha || github.sha }}"
240- gh api \
241- --method POST \
242- -H "Accept: application/vnd.github+json" \
243- -H "X-GitHub-Api-Version: 2022-11-28" \
244- repos/${{ github.repository }}/statuses/$HEAD_SHA \
245- -f state="${{ job.status }}" \
246- -f target_url="${{ steps.evaluate_output.outputs.html_report_url }}" \
247- -f description="Click Details to view the test report" \
248- -f context="${{ matrix.connector }} Test Report"
0 commit comments