Skip to content

Use uv for virtualenv and pip when available #387

Use uv for virtualenv and pip when available

Use uv for virtualenv and pip when available #387

Workflow file for this run

name: Build
on:
push:
branches:
- main
tags:
- v*
pull_request:
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]
env:
UV_FLAGS: --system
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 EXTRAS=dev install
- name: Test
run: make test
- name: Lint
run: make lint