Update tests.yml

This commit is contained in:
Aryan Iyappan 2021-08-21 17:16:43 +05:30 committed by GitHub
parent e1822c9ae9
commit 16551369b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,32 +52,3 @@ jobs:
- run: pip install tox
- run: tox -e ${{ matrix.tox }}
coveralls_finish:
# check coverage increase/decrease
needs: tests
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
deploy:
# builds and publishes to PyPi
runs-on: ubuntu-latest
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
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}