Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed Dec 11, 2024
1 parent 905c4ee commit a1ebf3d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/sonar-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
SonarCloud:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success' && github.repository == 'openwallet-foundation/acapy'
if: github.event.workflow_run.conclusion == 'success' && github.repository == 'jamshale/acapy'
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -51,6 +51,17 @@ jobs:
echo base branch = ${{ fromJson(steps.get_pr_data.outputs.data).base.ref }}
git checkout -B temp-branch-for-scanning upstream/${{ fromJson(steps.get_pr_data.outputs.data).head.ref }}
- name: Move Coverage Report And Adjust Source
run: |
mkdir test-reports
mv coverage.xml test-reports
# Need to change source in coverage report because it was generated from another context
echo ********************************************************************
echo ${ls}
sed -i 's/\/home\/runner\/work\/acapy\/acapy\//\/github\/workspace\//g' test-reports/coverage.xml
echo ${ls}
echo ${cd test-reports}
echo ${ls}
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@master
env:
Expand Down
4 changes: 2 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sonar.projectKey=openwallet-foundation_acapy
sonar.organization=openwallet-foundation
sonar.projectKey=jamshale_acapy
sonar.organization=jamshale
sonar.projectName=acapy

sonar.python.version=3.12

0 comments on commit a1ebf3d

Please sign in to comment.