Skip to content

Update README with support #15

Update README with support

Update README with support #15

Workflow file for this run

name: Publish Python Package
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools
pip install wheel
pip install -r requirements.txt
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Run tests
run: |
python test_medium_article_py.py
- name: Publish to PyPI
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m pip install --upgrade twine
twine upload dist/*