Skip to content

Commit 21e87d7

Browse files
committed
chore: update github workflows
1 parent b7963ad commit 21e87d7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/pypi.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ jobs:
5151

5252
- name: Push build artifacts to PyPI
5353
uses: pypa/gh-action-pypi-publish@release/v1
54-
with:
55-
skip-existing: true
56-
user: __token__
57-
password: ${{ secrets.PYPI_API_TOKEN }}
5854

5955
release:
6056
name: write release note

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,7 @@ jobs:
7171
files: ./coverage.xml
7272
flags: unittests
7373
name: GitHub
74+
- name: SonarCloud Scan
75+
uses: SonarSource/sonarcloud-github-action@master
76+
env:
77+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ sonar.sources=src
55
sonar.sourceEncoding=UTF-8
66
sonar.test.inclusions=tests/**/test_*.py
77

8-
sonar.python.version=3.8, 3.9, 3.10, 3.11
8+
sonar.python.version=3.8, 3.9, 3.10, 3.11, 3.12
99
sonar.python.coverage.reportPaths=coverage.xml

0 commit comments

Comments
 (0)