Skip to content

Commit

Permalink
Merge pull request #12 from MapIV/chore/deploy-to-testpypi
Browse files Browse the repository at this point in the history
Add GitHub Actions workflow for deploying to TestPyPI
  • Loading branch information
urasakikeisuke authored May 15, 2024
2 parents 9d40592 + 2462b31 commit c54bc03
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/deploy-testpypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy to TestPyPI

on:
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
with:
python-version: "3.12"

- name: Set up Rye
uses: eifinger/setup-rye@v2
with:
enable-cache: true
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Sync with Rye
run: rye sync

- name: Build distribution packages
run: rye build --clean

- name: Publish to TestPyPI
run: >
rye publish
--yes
--verbose
--repository testpypi
--repository-url https://test.pypi.org/legacy/
--token ${{ secrets.TEST_PYPI_TOKEN }}

5 comments on commit c54bc03

@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.py3793391%23–24, 107, 135, 188, 349–350, 572–594, 607–648, 658–659, 828, 848–849, 972, 975
TOTAL4514790% 

Tests Skipped Failures Errors Time
62 0 💤 0 ❌ 0 🔥 0.627s ⏱️

@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.py3793391%23–24, 107, 135, 188, 349–350, 572–594, 607–648, 658–659, 828, 848–849, 972, 975
TOTAL4514790% 

Tests Skipped Failures Errors Time
62 0 💤 0 ❌ 0 🔥 0.622s ⏱️

@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.py3793391%23–24, 107, 135, 188, 349–350, 572–594, 607–648, 658–659, 828, 848–849, 972, 975
TOTAL4514790% 

Tests Skipped Failures Errors Time
62 0 💤 0 ❌ 0 🔥 0.626s ⏱️

@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.py3793391%23–24, 107, 135, 188, 349–350, 572–594, 607–648, 658–659, 828, 848–849, 972, 975
TOTAL4514790% 

Tests Skipped Failures Errors Time
62 0 💤 0 ❌ 0 🔥 0.641s ⏱️

@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.py3793391%23–24, 107, 135, 188, 349–350, 572–594, 607–648, 658–659, 828, 848–849, 972, 975
TOTAL4514790% 

Tests Skipped Failures Errors Time
62 0 💤 0 ❌ 0 🔥 0.613s ⏱️

Please sign in to comment.