Skip to content

Commit 01dc6e7

Browse files
committed
Reinstate publishing to testPyPI in release workflow
1 parent f54574c commit 01dc6e7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,22 @@ jobs:
2222
- name: Build
2323
run: uv build
2424

25-
# - name: Publish distribution 📦 to Test PyPI
26-
# run: uv publish --index testpypi
27-
# - name: Check test install and import
28-
# run: |
29-
# sleep 5 # Wait for Test Pypi to publish
30-
# # Include pypi index for deps not available from test pypi...
31-
# uv run \
32-
# --with exchange-calendars \
33-
# --refresh-package exchange-calendars \
34-
# --index https://test.pypi.org/simple \
35-
# --index https://pypi.org/simple \
36-
# --index-strategy unsafe-best-match \
37-
# --no-project \
38-
# --isolated \
39-
# -- \
40-
# python -c 'import exchange_calendars; print(f"{exchange_calendars.__version__=}")'
25+
- name: Publish distribution 📦 to Test PyPI
26+
run: uv publish --index testpypi
27+
- name: Check test install and import
28+
run: |
29+
sleep 5 # Wait for Test Pypi to publish
30+
# Include pypi index for deps not available from test pypi...
31+
uv run \
32+
--with exchange-calendars \
33+
--refresh-package exchange-calendars \
34+
--index https://test.pypi.org/simple \
35+
--index https://pypi.org/simple \
36+
--index-strategy unsafe-best-match \
37+
--no-project \
38+
--isolated \
39+
-- \
40+
python -c 'import exchange_calendars; print(f"{exchange_calendars.__version__=}")'
4141
4242
- name: Publish distribution 📦 to PyPI
4343
run: uv publish

0 commit comments

Comments
 (0)