Skip to content

Commit

Permalink
Sonarcloud with code coverage
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <jamiehalebc@gmail.com>
  • Loading branch information
jamshale committed May 21, 2024
1 parent d0eb39a commit 1f9767e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: SonarCloud
on:
workflow_run:
workflows: ["PR Tests"]
types:
- completed
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
6 changes: 6 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sonar.projectKey=jamshale_aries-cloudagent-python
sonar.organization=jamshale

sonar.projectName=aries-cloudagent-python

sonar.sources=./aries_cloudagent

0 comments on commit 1f9767e

Please sign in to comment.