Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jvsguerra authored Sep 23, 2023
1 parent bb63990 commit 4a12bdb
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,15 @@ jobs:
name: artifacts
path: ./wheelhouse/*.whl

upload_pypi:
needs: [build_sdist, build_wheels]
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
needs: [build_sdist, build_wheels]
environment:
name: pypi
url: https://pypi.org/p/pyKVFinder
permissions:
id-token: write

steps:
- uses: actions/setup-python@v4
Expand All @@ -62,10 +68,8 @@ jobs:
name: artifacts
path: ./dist

- name: Upload artifacts to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install -U twine
twine upload dist/*
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

1 comment on commit 4a12bdb

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
pyKVFinder
   grid.py72210785%917, 921, 2242–2262, 2399–2476, 2832–2901
   main.py3576781%93, 97, 105, 114, 142–148, 1051, 1058, 1068, 1079, 1098, 1103–1104, 1330, 1335, 1341, 1348, 1351–1354, 1358–1363, 1375, 1385, 1414–1415, 1420–1421, 1426–1427, 1487–1492, 1498, 1503–1508, 1568, 1570, 1583, 1694, 1696, 1702, 1704, 1710, 1715, 1719, 1772–1782, 1808
   utils.py312698%571, 603, 606–608, 630
TOTAL139118087% 

Please sign in to comment.