Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
snejus committed May 28, 2024
1 parent 0c8d316 commit 155a091
Show file tree
Hide file tree
Showing 2 changed files with 230 additions and 229 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
run: poetry run pytest -vv

- name: Upload coverage data to coveralls.io
run: |
poetry run coveralls --service=github
run: poetry run coveralls --service=github

- name: Lint flake8
run: poetry run flake8 . --output-file flake.log --exit-zero
Expand All @@ -44,11 +43,13 @@ jobs:
run: echo PROJECT_VERSION="$(git describe --tags | sed 's/-[^-]*$//')" >> $GITHUB_ENV

- name: SonarCloud Scan
if: matrix.python == '3.8'
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.branch.name=${{ github.ref_name }}
-Dsonar.organization=snejus
-Dsonar.projectKey=snejus_rich-tables
-Dsonar.projectVersion=${{ env.PROJECT_VERSION }}
Expand All @@ -61,5 +62,5 @@ jobs:
-Dsonar.python.version=${{ matrix.python }}
-Dsonar.python.xunit.reportPath=.reports/test-report.xml
-Dsonar.sources=rich_tables
-Dsonar.tests=rich_tables
-Dsonar.tests=tests
-Dsonar.test.inclusions=tests/*
Loading

0 comments on commit 155a091

Please sign in to comment.