Skip to content

Commit

Permalink
Update deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jvsguerra committed Feb 15, 2024
1 parent a04f94e commit e37ae28
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x

Expand All @@ -39,10 +39,18 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Used to host cibuildwheel
- uses: actions/setup-python@v5
with:
python-version: 3.x

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.5

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
run: python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v3
with:
Expand All @@ -60,7 +68,7 @@ jobs:
id-token: write

steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x

Expand All @@ -73,4 +81,3 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development',
Expand Down Expand Up @@ -94,7 +95,7 @@ before-build = [
"pip3 install certifi",
"git clean -fxd build",
]
build = ["cp39-*", "cp310-*", "cp311-*"]
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*"]

[tool.cibuildwheel.linux]
archs = ["native"]
Expand Down

1 comment on commit e37ae28

@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.