Skip to content

feat: Add Docker support for disability-max-ratings-api #81

feat: Add Docker support for disability-max-ratings-api

feat: Add Docker support for disability-max-ratings-api #81

Workflow file for this run

name: "Test & Lint"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allow manual triggering
workflow_dispatch:
jobs:
test-python:
runs-on: ubuntu-latest
steps:
- name: "Checkout source code"
uses: actions/checkout@v4
- name: "Install Poetry"
run: pipx install poetry
- name: "Install Python"
uses: actions/setup-python@v5
with:
python-version: "3.12.3"
cache: "poetry"
- name: Install dependencies
run: poetry install
- name: "Run ruff format"
run: poetry run ruff format
- name: "Run ruff check"
run: poetry run ruff check
- name: "Run mypy"
run: poetry run mypy .
- name: "Run tests"
run: poetry run pytest --cov=src --cov-report=html