Skip to content

Commit

Permalink
fix sonar integration
Browse files Browse the repository at this point in the history
  • Loading branch information
wuan committed Jul 17, 2024
1 parent 913b66e commit 93bb2dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# max-parallel: 8
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
poetry-version: ["1.2.2", "1.7.1"]
os: [ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -45,8 +45,7 @@ jobs:
run: poetry build

- uses: sonarsource/sonarqube-scan-action@master
# if: matrix.python-version == '3.8'
if: false
if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-22.04' && matrix.poetry_version == '1.7.1'
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
Expand Down
6 changes: 3 additions & 3 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sonar.projectKey=wuan_scan-pdf_AYVOWf51U_dM7amWRimy
sonar.projectKey=scan-pdf
sonar.python.coverage.reportPaths=reports/coverage.xml
sonar.python.xunit.reportPath=reports/junit.xml
sonar.python.version=3
sonar.sources=src/scan_pdf/,src/scan-pdf
sonar.tests=src/tests/
sonar.sources=scan_pdf/
sonar.tests=tests/

0 comments on commit 93bb2dd

Please sign in to comment.