Skip to content

Commit

Permalink
Add sonarcloud integration components
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-gp committed Feb 6, 2024
1 parent 246bc0a commit 7bbdf1e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Sonarcloud Tests
on: push
jobs:
Test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Run SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
8 changes: 8 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sonar.projectName=cdn-origin-controller
sonar.projectKey=gympass_cdn-origin-controller
sonar.organization=gympass
sonar.projectVersion=1.0
sonar.host.url=https://sonarcloud.io
sonar.links.homepage=https://sonarcloud.io/project/overview?id=gympass_cdn-origin-controller

sonar.sources=.

0 comments on commit 7bbdf1e

Please sign in to comment.