Closed bhavikapanara closed 2 years ago
Merging #23 (80234a7) into main (8a053b9) will increase coverage by
3.22%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## main #23 +/- ##
==========================================
+ Coverage 89.06% 92.29% +3.22%
==========================================
Files 10 14 +4
Lines 869 1272 +403
==========================================
+ Hits 774 1174 +400
- Misses 95 98 +3
Impacted Files | Coverage Δ | |
---|---|---|
src/pipeline/pose_engine.py | 65.65% <0.00%> (-23.41%) |
:arrow_down: |
src/pipeline/inference.py | 88.00% <0.00%> (-0.24%) |
:arrow_down: |
fall_prediction.py | 100.00% <0.00%> (ø) |
|
tests/pipeline/test_fall_detect.py | ||
src/pipeline/pose_base.py | 91.83% <0.00%> (ø) |
|
src/pipeline/movenet_model.py | 97.05% <0.00%> (ø) |
|
tests/pipeline/test_fall_detect_posenet.py | 100.00% <0.00%> (ø) |
|
tests/pipeline/test_fall_detect_movenet.py | 100.00% <0.00%> (ø) |
|
src/pipeline/posenet_model.py | 100.00% <0.00%> (ø) |
|
src/pipeline/fall_detect.py | 98.62% <0.00%> (+10.09%) |
:arrow_up: |
@bhavikapanara you only added setup.cfg which is not enough to publish a package. You also need setup.py. See how we do this for peerjs-python.
Look closer at the peerjs-python CI scripts for packaging and publishing a pypi package.
The three key scripts you need to study and understand are:
pythonpackage.yml
uses semantic release to analyze commits, prepare changelog and decide how to version the next release.
prepare-release.sh
creates a local python package
pythonpublish.yml
pushes the local package to the pypi package repo.
While testing your local scripts and CI runs, make sure to use TestPyPi to publish your new package from the CI workflow instead of the official PyPi repo.
:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Contributors
bhavikapanara
Commit-Lint commands
You can trigger Commit-Lint actions by commenting on this PR: - `@Commit-Lint merge patch` will merge dependabot PR on "patch" versions (X.X.Y - Y change) - `@Commit-Lint merge minor` will merge dependabot PR on "minor" versions (X.Y.Y - Y change) - `@Commit-Lint merge major` will merge dependabot PR on "major" versions (Y.Y.Y - Y change) - `@Commit-Lint merge disable` will desactivate merge dependabot PR - `@Commit-Lint review` will approve dependabot PR - `@Commit-Lint stop review` will stop approve dependabot PR