feat: 83 replace poetry co by uv and ruff #225
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: QA | |
on: pull_request | |
jobs: | |
qa: | |
name: QA | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
version: [ '3.11', '3.12', '3.13' ] | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Use Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.version }} | |
- name: Install dependencies | |
run: | | |
# Install uv using the official installation method | |
curl -LsSf https://astral.sh/uv/install.sh | sh | |
# Add uv to PATH (use .local/bin where it's actually installed) | |
export PATH="$HOME/.local/bin:$PATH" | |
# Create a virtual environment or use system flag | |
uv sync | |
# Use uv to install dependencies | |
uv python -m pip install -e . | |
uv python -m pip install pytest pytest-timeout pytest-asyncio pytest-cov ruff pyright bandit | |
- name: Run QA | |
run: make qa |