Skip to content

add is_alive log message #65

add is_alive log message

add is_alive log message #65

Workflow file for this run

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 }}