diff --git a/.github/workflows/healthCheck.yml b/.github/workflows/healthCheck.yml index 43be0b6..d21f8fc 100644 --- a/.github/workflows/healthCheck.yml +++ b/.github/workflows/healthCheck.yml @@ -6,6 +6,17 @@ on: branches: - master jobs: + sonarqube-analysis: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v2 + + - name: SonarQube Analysis + uses: SonarSource/sonarqube-scan-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} build: runs-on: ubuntu-latest env: diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..3777efe --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectKey=LambdaTest_lambdatest-maven-tunnel_AZalB1Y1-ZKsnB8M0r2f \ No newline at end of file