Skip to content

Commit

Permalink
Merge pull request #18 from MapIV/chore/setuptools-scm
Browse files Browse the repository at this point in the history
Update GitHub Actions workflow for PyPI deployment
  • Loading branch information
urasakikeisuke authored May 15, 2024
2 parents cd9da58 + c5c8375 commit 456adda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
release:
types: [published]

workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -29,5 +29,5 @@ jobs:
- name: Build distribution packages
run: rye build --clean

- name: Publish to PyPI
run: rye publish --yes --verbose --token ${{ secrets.PYPI_TOKEN }}
# - name: Publish to PyPI
# run: rye publish --yes --verbose --token ${{ secrets.PYPI_TOKEN }}
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ local_scheme = "no-local-version"

[tool.setuptools_scm]
write_to = "src/pypcd4/_version.py"
version_scheme = "guess-next-dev"
local_scheme = "node-and-date"
version_scheme = "only-version"
local_scheme = "no-local-version"

[tool.ruff]
line-length = 100
Expand Down

5 comments on commit 456adda

@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
src/pypcd4
   __init__.py20100% 
   _version.py11282%5–6
   pointcloud2.py591280%87–101
   pypcd4.py3893392%23–24, 107, 135, 188, 349–350, 572–594, 607–648, 658–659, 878, 898–899, 1022, 1025
TOTAL4614790% 

Tests Skipped Failures Errors Time
63 0 💤 0 ❌ 0 🔥 0.618s ⏱️

@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
src/pypcd4
   __init__.py20100% 
   _version.py11282%5–6
   pointcloud2.py591280%87–101
   pypcd4.py3893392%23–24, 107, 135, 188, 349–350, 572–594, 607–648, 658–659, 878, 898–899, 1022, 1025
TOTAL4614790% 

Tests Skipped Failures Errors Time
63 0 💤 0 ❌ 0 🔥 0.664s ⏱️

@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
src/pypcd4
   __init__.py20100% 
   _version.py11282%5–6
   pointcloud2.py591280%87–101
   pypcd4.py3893392%23–24, 107, 135, 188, 349–350, 572–594, 607–648, 658–659, 878, 898–899, 1022, 1025
TOTAL4614790% 

Tests Skipped Failures Errors Time
63 0 💤 0 ❌ 0 🔥 0.632s ⏱️

@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
src/pypcd4
   __init__.py20100% 
   _version.py11282%5–6
   pointcloud2.py591280%87–101
   pypcd4.py3893392%23–24, 107, 135, 188, 349–350, 572–594, 607–648, 658–659, 878, 898–899, 1022, 1025
TOTAL4614790% 

Tests Skipped Failures Errors Time
63 0 💤 0 ❌ 0 🔥 0.632s ⏱️

@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
src/pypcd4
   __init__.py20100% 
   _version.py11282%5–6
   pointcloud2.py591280%87–101
   pypcd4.py3893392%23–24, 107, 135, 188, 349–350, 572–594, 607–648, 658–659, 878, 898–899, 1022, 1025
TOTAL4614790% 

Tests Skipped Failures Errors Time
63 0 💤 0 ❌ 0 🔥 0.642s ⏱️

Please sign in to comment.