fix: test sonar.yml #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SonarQube Analysis | ||
on: | ||
workflow_run: | ||
workflows: [React Template CI] | ||
types: | ||
- requested | ||
jobs: | ||
sonar-analysis: | ||
name: SonarQube Analysis | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
-name: Echo to test | ||
run: echo "Hello World" | ||
# - name: Download code coverage artifact | ||
# uses: actions/download-artifact@v2 | ||
# with: | ||
# name: coverage | ||
# path: coverage/lcov.info | ||
# - name: SonarQube Scan | ||
# uses: sonarsource/sonarqube-scan-action@master | ||
# env: | ||
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
# SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} |