Skip to content

Commit e29437a

Browse files
author
FirstUnicorn
committed
build: limit TestPyPI publishing to foundational packages
Start with python-technical-primitives and python-app-exceptions to test workflow before expanding to all 18 packages. Made-with: Cursor
1 parent c00b69e commit e29437a

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/publish-testpypi.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,17 @@ jobs:
2121
- name: Install build tools
2222
run: pip install --upgrade build
2323

24-
- name: Build all packages
24+
- name: Build selected packages
2525
run: |
26-
for pkg_dir in packages/*/; do
27-
echo "Building $(basename $pkg_dir)..."
28-
cd "$pkg_dir"
26+
# Start with foundational packages for testing
27+
packages=(
28+
"python-technical-primitives"
29+
"python-app-exceptions"
30+
)
31+
32+
for pkg in "${packages[@]}"; do
33+
echo "Building $pkg..."
34+
cd "packages/$pkg"
2935
python -m build --wheel --sdist
3036
cd ../..
3137
done

0 commit comments

Comments
 (0)