Skip to content

Use uv for virtualenv and pip when available #384

Use uv for virtualenv and pip when available

Use uv for virtualenv and pip when available #384

Workflow file for this run

name: Build
on:
push:
branches:
- main
tags:
- v*
pull_request:
defaults:
run:
shell: bash
jobs:
aioitertools:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [macOS-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: hynek/setup-cached-uv@v2
with:
cache-dependency-path: pyproject.toml
- name: Install
run: |
make venv
source .venv/bin/activate
make EXTRAS=dev install
- name: Test
run: make test
- name: Lint
run: make lint