You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
Fix coverage check
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
11
.github/workflows/sonarcloud.yml
vendored
11
.github/workflows/sonarcloud.yml
vendored
@@ -44,7 +44,6 @@ jobs:
|
|||||||
|
|
||||||
- name: 📥 Download artifact
|
- name: 📥 Download artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
id: download
|
|
||||||
if: ${{ !inputs.sharded }}
|
if: ${{ !inputs.sharded }}
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -53,7 +52,6 @@ jobs:
|
|||||||
path: coverage
|
path: coverage
|
||||||
- name: 📥 Download sharded artifacts
|
- name: 📥 Download sharded artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
id: download
|
|
||||||
if: inputs.sharded
|
if: inputs.sharded
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -61,11 +59,12 @@ jobs:
|
|||||||
pattern: coverage-*
|
pattern: coverage-*
|
||||||
path: coverage
|
path: coverage
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
- name: Fail if failed to download files
|
- name: Check coverage artifact
|
||||||
if: steps.download.outputs.download-path == ''
|
|
||||||
run: |
|
run: |
|
||||||
echo "Failed to download coverage artifact"
|
if [ ! -d coverage ]; then
|
||||||
exit 1
|
echo "Coverage not found. Exiting with failure."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- id: extra_args
|
- id: extra_args
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user