summaryrefslogtreecommitdiffstats
path: root/.github/workflows/python.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/python.yml')
-rw-r--r--.github/workflows/python.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index a32300043a3..67645e43e95 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -37,3 +37,11 @@ jobs:
- name: Run notebook tests
run: |
nbdev_test_nbs
+ - name: Build package
+ run: |
+ python setup.py sdist bdist_wheel
+ - name: Publish distribution to Test PyPI
+ uses: pypa/gh-action-pypi-publish@master
+ with:
+ password: ${{ secrets.test_pypi_password }}
+ repository_url: https://test.pypi.org/legacy/