Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Announce consolidation in README #22

Announce consolidation in README

Announce consolidation in README #22

Workflow file for this run

name: Build and publish
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
environment: deploy
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.7"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install -e ".[dev]"
- name: Run tests
run: |
pytest .
- name: Build a distribution
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
packages_dir: dist/