Skip to content

Commit

Permalink
build: support additional coverage files in audit
Browse files Browse the repository at this point in the history
  • Loading branch information
joshiste committed Dec 23, 2024
1 parent f5bae92 commit 426de56
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/reusable-extension-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ on:
default: false
description: |
Github app ID to use for version bump
coverage_artifacts_pattern:
type: string
required: false
description: |
pattern to download coverage artifacts
secrets:
SONAR_TOKEN:
required: false
Expand Down Expand Up @@ -169,6 +174,16 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Download additional coverage files
if: ${{ inputs.coverage_artifacts_pattern }}
uses: actions/download-artifact@v4
with:
pattern: ${{ inputs.coverage_artifacts_pattern }}
merge-multiple: true

- name: Display structure of downloaded coverage files
run: ls -R e2e

- name: "[release] SonarCloud Quality Gate check"
if: ${{ startsWith(github.ref, 'refs/tags/') && env.sonar_available == 'true' }}
uses: sonarsource/[email protected]
Expand Down

0 comments on commit 426de56

Please sign in to comment.