Skip to content

ci(workflow): test

ci(workflow): test #1

Workflow file for this run

name: Run Unit Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run tests with coverage
run: |
poetry run pytest --cov=api
- name: Report coverage
run: |
poetry run coverage report -m