75954fac60
The external-agent-smoke workflow ran `pip install -e .`, which only installs runtime dependencies. pytest and pytest-timeout live in the `dev` optional-dependency group in pyproject.toml, so the test step failed immediately with `No module named pytest` on all three platforms before running a single test. Fix: `pip install -e ".[dev]"` This bug went undetected because every previous PR triggered the workflow in `action_required` state (fork PRs need maintainer approval to run); the job never actually executed until now.
31 lines
743 B
YAML
31 lines
743 B
YAML
name: external-agent-smoke
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
smoke:
|
|
name: ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os:
|
|
- ubuntu-latest
|
|
- macos-latest
|
|
- windows-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
- name: Install package
|
|
run: python -m pip install -e ".[dev]"
|
|
- name: Run external-agent smoke checks
|
|
run: >
|
|
python -m pytest -q
|
|
tests/test_cli_app.py::CliInitProjectTests::test_external_agent_preflight_accepts_fake_agent_binaries
|
|
tests/test_external_agent_preflight.py
|