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.yml35
1 files changed, 0 insertions, 35 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
deleted file mode 100644
index 5839ae90dfd..00000000000
--- a/.github/workflows/python.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-name: CI
-on:
- pull_request:
- push:
- branches:
- - master
-jobs:
- build:
- runs-on: ubuntu-latest
- defaults:
- run:
- working-directory: python/vespa
- steps:
- - uses: actions/checkout@v1
- - uses: actions/setup-python@v1
- with:
- python-version: '3.7'
- architecture: 'x64'
- - name: Install the library
- run: |
- pip install pytest
- pip install -e .
- - name: Test with pytest
- run: |
- pytest
- - name: Build and publish
- if: github.event_name == 'push' && github.ref == 'refs/heads/master'
- env:
- TWINE_USERNAME: __token__
- TWINE_PASSWORD: ${{ secrets.test_pypi_password }}
- run: |
- python -m pip install --upgrade pip
- pip install setuptools wheel twine
- python setup.py sdist bdist_wheel
- twine upload --repository testpypi dist/*