Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Create a release workflow for PyPI #4

Merged
merged 4 commits into from
Apr 3, 2024
Merged

Conversation

weiiwang01
Copy link
Contributor

Create a workflow that can be manually triggered to release the Python package to PyPI. This workflow also doubles as a method to test the packaging process.

@weiiwang01 weiiwang01 requested a review from a team as a code owner April 3, 2024 07:35
arturo-seijas
arturo-seijas previously approved these changes Apr 3, 2024
Copy link

github-actions bot commented Apr 3, 2024

Test coverage for 06c4642

Name                                           Stmts   Miss Branch BrPart  Cover   Missing
------------------------------------------------------------------------------------------
paas_app_charmer/__init__.py                       1      0      0      0   100%
paas_app_charmer/_gunicorn/__init__.py             0      0      0      0   100%
paas_app_charmer/_gunicorn/charm.py              116     29     18      6    72%   60-62, 147-148, 150-151, 171->exit, 181-185, 190, 196-201, 205-206, 210, 214, 218, 222, 226, 230, 234, 238, 242, 246
paas_app_charmer/_gunicorn/charm_state.py         63      1      6      1    97%   194
paas_app_charmer/_gunicorn/observability.py       20      0      0      0   100%
paas_app_charmer/_gunicorn/secret_storage.py      14      1      0      0    93%   39
paas_app_charmer/_gunicorn/webserver.py           76      5     16      2    92%   19, 155, 167-173
paas_app_charmer/_gunicorn/wsgi_app.py            60      1     22      1    98%   80
paas_app_charmer/database_migration.py            34      0      2      0   100%
paas_app_charmer/databases.py                     38      3     13      2    90%   82, 97-98
paas_app_charmer/django/__init__.py                2      0      0      0   100%
paas_app_charmer/django/charm.py                  45     13     10      0    65%   72-77, 89, 97-114
paas_app_charmer/exceptions.py                     5      0      0      0   100%
paas_app_charmer/flask/__init__.py                 2      0      0      0   100%
paas_app_charmer/flask/charm.py                   37      0      6      0   100%
paas_app_charmer/helpers.py                        9      0      2      1    91%   18->20
paas_app_charmer/secret_storage.py                40      6     16      4    79%   50, 54->53, 55->57, 85, 103-108
------------------------------------------------------------------------------------------
TOTAL                                            562     59    111     17    87%

Static code analysis report

Run started:2024-04-03 08:30:59.761897

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 1240
  Total lines skipped (#nosec): 0
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@jdkandersson jdkandersson merged commit adcedf4 into main Apr 3, 2024
28 checks passed
@jdkandersson jdkandersson deleted the release-workflow branch April 3, 2024 13:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants