feat: bye travis, hi gh actn, hndl empty resp, tip in readme

This commit is contained in:
Jovial Joe Jayarson
2022-02-26 11:02:54 +05:30
parent ec7c2a0b9c
commit 88979b6b3c
8 changed files with 77 additions and 36 deletions

28
.github/testing.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: WakaReadme
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - --version 1.1.13
echo "##vso[task.setvariable variable=PATH]${PATH}:$HOME/.poetry/bin"
source $HOME/.poetry/env"
poetry install
- name: Run unit tests
run: |
poetry run python -m unittest discover