Skip to content

Change to "uv"

Change to "uv" #301

Workflow file for this run

name: Pytest
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
# Install a specific version of uv.
version: "0.5.4"
- name: Set up Python
run: uv python install
- name: Install the project
run: uv sync --all-extras --dev

Check failure on line 23 in .github/workflows/pytest.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pytest.yaml

Invalid workflow file

You have an error in your yaml syntax on line 23
- name: Run pytest
run: uv run pytest .
- name: Run --version
# For example, using `pytest`
run: uv run python toogoodtogo_ha_mqtt_bridge/main.py --version