-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: support additional coverage files in audit
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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] | ||
|