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

Update README.md

Update README.md #22

Workflow file for this run

name: package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -e '.[dev]'
- name: Run tests
run: |
nosetests --with-coverage --cover-package=languagecodes --cover-erase
- name: Build a distribution
run: |
python setup.py sdist bdist_wheel
- name: Publish a Python distribution to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}