Skip to content

ci: refactor quality check workflow #5

ci: refactor quality check workflow

ci: refactor quality check workflow #5

name: ✅ Quality Checks
on: [ push ]
jobs:
perform-checks:
name: Perform checks
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint code
uses: astral-sh/ruff-action@v1
with:
args: "check"
- name: Setup uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Run unit tests
run: |
uv sync --all-extras --dev
source .venv/bin/activate
uv run pytest tests/