Skip to content

Commit

Permalink
use latest script
Browse files Browse the repository at this point in the history
  • Loading branch information
semirp committed Apr 24, 2024
1 parent 29f0760 commit 02fcdcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_test_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ jobs:
run: |
bash Scripts/xccov-to-sonarqube-generic.sh fastlane/test_output/PrimerSDKTests.xcresult/ > coverage.xml
sed "s#$PWD/##g" coverage.xml > coverage_cleaned.xml
cat coverage_cleaned.xml
- uses: actions/upload-artifact@master
with:
name: coverage-file
Expand All @@ -118,12 +117,12 @@ jobs:
echo "sonar.pullrequest.branch=${{github.head_ref}}" >> sonar-project.properties
echo "sonar.pullrequest.base=${{github.base_ref}}" >> sonar-project.properties
echo "sonar.scm.revision=${{ github.event.pull_request.head.sha }}" >> sonar-project.properties
cat sonar-project.properties
- name: SonarCloud Scan
uses: sonarsource/sonarqube-scan-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: https://sonarcloud.io./
- name: SonarQube Quality Gate check
id: sonarqube-quality-gate-check
uses: sonarsource/sonarqube-quality-gate-action@master
Expand Down

0 comments on commit 02fcdcb

Please sign in to comment.