mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-07 13:07:22 +00:00
Update py-tests.yml (#22636)
This commit is contained in:
parent
199e3b981c
commit
d78771ed8d
6
.github/workflows/py-tests.yml
vendored
6
.github/workflows/py-tests.yml
vendored
@ -106,7 +106,7 @@ jobs:
|
||||
# we have to pass these args values since we are working with the 'pull_request_target' trigger
|
||||
- name: Push Results in PR to Sonar
|
||||
id: push-to-sonar
|
||||
if: ${{ github.event_name == 'pull_request_target' && matrix.py-version == '3.9' }}
|
||||
if: ${{ github.event_name == 'pull_request_target' && matrix.py-version == '3.10' }}
|
||||
continue-on-error: true
|
||||
uses: sonarsource/sonarcloud-github-action@v2.3.0
|
||||
env:
|
||||
@ -124,13 +124,13 @@ jobs:
|
||||
|
||||
# next two steps are for retrying "Push Results in PR to Sonar" step in case it fails
|
||||
- name: Wait to retry 'Push Results in PR to Sonar'
|
||||
if: ${{ github.event_name == 'pull_request_target' && matrix.py-version == '3.9' && steps.push-to-sonar.outcome != 'success' }}
|
||||
if: ${{ github.event_name == 'pull_request_target' && matrix.py-version == '3.10' && steps.push-to-sonar.outcome != 'success' }}
|
||||
run: sleep 20s
|
||||
shell: bash
|
||||
|
||||
- name: Retry 'Push Results in PR to Sonar'
|
||||
uses: sonarsource/sonarcloud-github-action@master
|
||||
if: ${{ github.event_name == 'pull_request_target' && matrix.py-version == '3.9' && steps.push-to-sonar.outcome != 'success' }}
|
||||
if: ${{ github.event_name == 'pull_request_target' && matrix.py-version == '3.10' && steps.push-to-sonar.outcome != 'success' }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.INGESTION_SONAR_SECRET }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user