Skip to content

Add example, README

Add example, README #9

Workflow file for this run

name: main
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install poetry dependencies
run: poetry install
- name: Check dependencies
run: make doctor
- uses: actions/cache@v2
with:
path: .venv
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: make install
- name: Check code
run: make check
- name: Test code
run: make test
# - name: Upload coverage
# uses: codecov/codecov-action@v1
# with:
# fail_ci_if_error: true