Skip to content

Comments

2-publish-pypi-stage#3

Merged
vvvieira merged 31 commits intomainfrom
2-publish-pypi-stage
Apr 4, 2025
Merged

2-publish-pypi-stage#3
vvvieira merged 31 commits intomainfrom
2-publish-pypi-stage

Conversation

@vvvieira
Copy link
Collaborator

@vvvieira vvvieira commented Apr 4, 2025

Add a publishing stage to the PR workflow based on uv

@vvvieira vvvieira changed the base branch from 1-add_gh_actions to main April 4, 2025 10:47
@github-actions
Copy link

github-actions bot commented Apr 4, 2025

🧪 Coverage Report

Name                                            Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------------------------------
src/simulib/__init__.py                             0      0      0      0   100%
src/simulib/entities/__init__.py                    4      0      0      0   100%
src/simulib/entities/dynamic.py                   114      7     12      2    93%   63->62, 167-168, 173-176, 249
src/simulib/entities/steadystate.py                21      0      0      0   100%
src/simulib/io/__init__.py                         19      2      0      0    89%   17, 22
src/simulib/io/dynamic/__init__.py                 16      0      2      0   100%
src/simulib/io/dynamic/importers.py                12      0      0      0   100%
src/simulib/io/utils.py                             3      0      0      0   100%
src/simulib/methods/__init__.py                     8      1      0      0    88%   12
src/simulib/methods/dynamic/dfba/__init__.py       12      0      0      0   100%
src/simulib/methods/dynamic/dfba/entities.py       94      2      6      0    98%   144-145
src/simulib/methods/dynamic/dfba/simulator.py     123     10     38      5    89%   47->50, 71-72, 98-102, 135->134, 154-156, 158, 256
src/simulib/methods/dynamic/exceptions.py          10      0      0      0   100%
src/simulib/utils/__init__.py                       0      0      0      0   100%
src/simulib/utils/expression.py                    85     20     30      1    73%   63-66, 105-116, 120, 124-133
-------------------------------------------------------------------------------------------
TOTAL                                             521     42     88      8    90%

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 3.10

@vvvieira vvvieira self-assigned this Apr 4, 2025
@vvvieira
Copy link
Collaborator Author

vvvieira commented Apr 4, 2025

@jpfon you can check https://test.pypi.org/project/simulib/ for the results of the test stage.

Note: I made it so that it's only possible to run the main PyPI job from a tag starting with "v"

@vvvieira vvvieira merged commit 93947d4 into main Apr 4, 2025
3 checks passed
@vvvieira vvvieira deleted the 2-publish-pypi-stage branch April 4, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants