Skip to content

feat: introduced decorators get, post, put ... etc for the routing logic #20

feat: introduced decorators get, post, put ... etc for the routing logic

feat: introduced decorators get, post, put ... etc for the routing logic #20

Workflow file for this run

name: MicroAPI CI
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install dependencies
run: |
pip install pytest pytest-asyncio ruff
- name: Run linting (Ruff)
run: |
ruff check .
- name: Run test suite
run: |
pytest -q tests