Skip to content

chore: add python 3.10 #21

chore: add python 3.10

chore: add python 3.10 #21

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Test and lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: source $HOME/.cargo/env
- run: uv venv
- run: uv python pin ${{ matrix.python-version }}
- run: uv pip install ruff pytest httpx
- run: uv run ruff check
- run: uv run pytest -v