diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index d90ef26..60b2d18 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -39,3 +39,8 @@ jobs: - name: Test with pytest run: | pytest + - name: SQ Analyse + uses: sonarsource/sonarqube-scan-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} diff --git a/pokemon.txt b/pokemon.txt index 7d7cb5a..45c6c37 100644 --- a/pokemon.txt +++ b/pokemon.txt @@ -1,4 +1,4 @@ -Bulbasaur;A strange seed was planted on its back at birth. The plant sprouts and grows with this POKéMON. +Bulbasaur;A strange seed was planted on its back at birth. The plant sprouts and grows with this POKéMON. Hmmm Ivysaur;When the bulb on its back grows large, it appears to lose the ability to stand on its hind legs. Venusaur;The plant blooms when it is absorbing solar energy. It stays on the move to seek sunlight. Charmander;Obviously prefers hot places. When it rains, steam is said to spout from the tip of its tail. diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..df051f6 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectKey=tom-howlett-sonarsource_python-flask-demo_8b8a16a4-99c6-48d1-a728-ae14e7bdeb50 \ No newline at end of file