File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed
Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -14,27 +14,18 @@ jobs:
1414 permissions :
1515 id-token : write
1616 steps :
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v5
1818
19- - name : Set up Python
20- uses : actions /setup-python@v5
19+ - name : Set up uv
20+ uses : astral-sh /setup-uv@v7
2121 with :
22- python-version : " 3.10"
23-
24- - name : Install dependencies
25- run : |
26- python -m pip install --upgrade pip
27- pip install build pytest
22+ python-version : " 3.11"
2823
2924 - name : Build
30- run : python -m build --sdist --wheel .
31-
32- - name : Install wheel
33- run : pip install pyopenms dist/psm_utils-*.whl
25+ run : uv build
3426
3527 - name : Test wheel
36- run : |
37- pytest
28+ run : uv run --isolated --with *.whl python -c "import psm_utils; print('Successfully imported built package.')"
3829
3930 - name : Publish to PyPI
40- uses : pypa/gh-action-pypi- publish@release/v1
31+ uses : uv publish
You can’t perform that action at this time.
0 commit comments