diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8a4d76..61b7d79 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,3 +24,9 @@ jobs: run: uv run pytest - name: Run examples run: uv run pytest examples/ + + - uses: SonarSource/sonarqube-scan-action@v8 + if: matrix.python-version == '3.11' + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..84b2c5c --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,3 @@ +sonar.projectKey=didcomm-messaging-python +sonar.projectName=didcomm-messaging-python +sonar.sources=.