Skip to content

Merge pull request #45 from jwg4/jupyter_support #28

Merge pull request #45 from jwg4/jupyter_support

Merge pull request #45 from jwg4/jupyter_support #28

name: Deploy wheels to pypi
on:
push:
branches:
- main
jobs:
publish:
strategy:
fail-fast: false
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'nodeploy')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install poetry
run: pip install poetry
- name: Install requirements
run: poetry install
- name: Build package
run: poetry build -f wheel
- name: Test package
run: poetry run pytest
- name: publish to pypi
run: poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}