Skip to content

Commit 406a793

Browse files
committed
publish to test.pypi
Signed-off-by: Sreekanth <prsreekanth920@gmail.com>
1 parent 1464c64 commit 406a793

4 files changed

Lines changed: 24 additions & 2 deletions

File tree

.github/workflows/pynumaflow-lite.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: pynumaflow-lite
33
on:
44
push:
55
branches: ["main", "release/*"]
6+
tags: ["pynumaflow-lite-v*"]
67
paths:
78
- "packages/pynumaflow-lite/**"
89
- ".github/workflows/pynumaflow-lite.yml"
@@ -202,3 +203,23 @@ jobs:
202203
path: packages/pynumaflow-lite/dist/*.whl
203204
if-no-files-found: error
204205
compression-level: 0
206+
207+
publish-testpypi:
208+
name: Publish to TestPyPI
209+
needs: build-wheels
210+
runs-on: ubuntu-24.04
211+
if: github.repository == 'numaproj/numaflow-python' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/pynumaflow-lite-v')
212+
213+
steps:
214+
- name: Install uv
215+
uses: astral-sh/setup-uv@v8.1.0
216+
217+
- name: Download wheel artifacts
218+
uses: actions/download-artifact@v7
219+
with:
220+
pattern: pynumaflow-lite-*
221+
path: dist
222+
merge-multiple: true
223+
224+
- name: Publish to TestPyPI
225+
run: uv publish --publish-url https://test.pypi.org/legacy/ --check-url https://test.pypi.org/simple/ --token ${{ secrets.TESTPYPI_PASSWORD }} dist/*

packages/pynumaflow-lite/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/pynumaflow-lite/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pynumaflow-lite"
3-
version = "0.1.0"
3+
version = "0.1.0-alpha.1"
44
edition = "2024"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

packages/pynumaflow-lite/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ build-backend = "maturin"
66
name = "pynumaflow-lite"
77
requires-python = ">=3.10"
88
classifiers = [
9+
"Development Status :: 3 - Alpha",
910
"Programming Language :: Rust",
1011
"Programming Language :: Python :: Implementation :: CPython",
1112
"Programming Language :: Python :: Implementation :: PyPy",

0 commit comments

Comments
 (0)