Skip to content

chore: switch from downloading uv binaries to building it with the CLI #505

chore: switch from downloading uv binaries to building it with the CLI

chore: switch from downloading uv binaries to building it with the CLI #505

Workflow file for this run

# This workflow will build and test the Rust code in this repository. There are
# separate workflows for testing the python portion of the code base.
#
# This file is *not* generated from automation and is manually maintained.
#
name: "[tower] Test python"
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Check Python formatting with Black
run: uv run --group dev black --check --diff .
- name: Check types with mypy
run: uv run --group dev mypy src/tower/__init__.py --no-error-summary
- name: Run tests
run: uv run pytest tests