Skip to content

Commit

Permalink
chore: sonarcloud: exclude protobuf generated files; release_ci: only…
Browse files Browse the repository at this point in the history
… publish artifacts on release event (#378)
  • Loading branch information
Bodong-Yang authored Aug 9, 2024
1 parent 4cf014a commit 4035c31
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
${WHL}.checksum; \
done
- name: release
- name: publish release artifacts
if: ${{ github.event_name == "release" }}
uses: softprops/action-gh-release@v2
with:
files: |
Expand Down
2 changes: 1 addition & 1 deletion proto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can use `hatch` to simply build the OTA service API python package for build
python3 -m venv .venv
# enable the venv
. .venv/bin/activate
python3 -m pip -U pip
python3 -m pip install -U pip
python3 -m pip install hatch
```

Expand Down
3 changes: 2 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ sonar.python.coverage.reportPaths=test_result/coverage.xml
sonar.sources=./src
sonar.tests=tests
sonar.sourceEncoding=UTF-8
sonar.python.version=3.8,3.9,3.10,3.11
sonar.python.version=3.8,3.9,3.10,3.11,3.12
sonar.exclusions=**/*_pb2*

0 comments on commit 4035c31

Please sign in to comment.