aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authortmartins <thigm85@gmail.com>2020-06-15 13:36:43 +0200
committertmartins <thigm85@gmail.com>2020-06-15 13:36:43 +0200
commitb295b31be139f71d29527d3a39d172a4a031069e (patch)
treef90519749bb3d8276e3e27c659312ae1f85ce5a2 /.github
parentf23863f6f7698d4fc34392c59977447988a86754 (diff)
publish pyvespa to test PyPI
Diffstat (limited to '.github')
-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/