Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sonar pr cov #167

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 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 @@ -56,7 +56,12 @@ jobs:
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
Loading