From 930b599e116e752425bb000fda5fb8ad57120df2 Mon Sep 17 00:00:00 2001 From: Tom Howlett Date: Fri, 22 Mar 2024 17:58:34 +0000 Subject: [PATCH 1/2] Test --- pokemon.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From f88dc7dbfad564321565b03c9324208427d7e21f Mon Sep 17 00:00:00 2001 From: Tom Howlett Date: Sat, 23 Mar 2024 12:34:04 +0000 Subject: [PATCH 2/2] Added SQ Config --- .github/workflows/python-app.yml | 5 +++++ sonar-project.properties | 1 + 2 files changed, 6 insertions(+) create mode 100644 sonar-project.properties 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/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