Skip to content

Mit lite (#97)

Mit lite (#97) #96

Workflow file for this run

name: pypi-on-master-push
on:
push:
branches:
- main
jobs:
bob-the-builder:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest setuptools wheel twine
pip install -e .
pip install -r requirements.txt
- name: Build binary wheel and a source tarball
run: |
python setup.py install
python setup.py sdist bdist_wheel
- run: echo 'Tests successful. Publishing to PyPI now.'
- name: Build app (Ubuntu / macOS)
env:
KEY: ${{ secrets.pypi_api }}
run: python -m twine upload --skip-existing -p $KEY dist/*