Skip to content

Add unit tests

Add unit tests #10

Workflow file for this run

name: Python Code Quality
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check-python-code-quality:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: 'poetry'
- name: Install dependencies
run: poetry install
- name: Run ruff
run: $(poetry env info -p)/bin/ruff .
if: always()
- name: Run ruff format
run: $(poetry env info -p)/bin/ruff format --check .
if: always()