add is_alive log message #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
- run: pip install -e . | |
- run: flake8 kuyruk/ | |
- run: mypy kuyruk/ | |
- run: pytest -v --cov=kuyruk --cov-report xml tests/ | |
- uses: coverallsapp/github-action@v2 | |
- run: echo ${{github.ref_name}} > VERSION | |
- name: Install pypa/build | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
run: >- | |
python3 -m | |
pip install | |
build | |
--user | |
- name: Build a binary wheel and a source tarball | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
run: >- | |
python3 -m | |
build | |
--sdist | |
--wheel | |
--outdir dist/ | |
. | |
- name: Publish package | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_API_TOKEN }} |