Skip to content

Improve code coverage #26

Improve code coverage

Improve code coverage #26

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install hatch
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Check formatting
run: |
hatch run black --check .
- name: Test with pytest
run: |
hatch run cov