From b19abbd51463bdb58e44e96d0b69e1750f5fde63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Tue, 20 Oct 2026 23:29:07 +0300 Subject: [PATCH] CI: install pyusb before the tests tests/test_capture.py builds a DirectSniffer, whose lazy import reaches simtrace2_pysniff.device -> usb.core; the runner has no PyUSB, so two tests failed there while passing on a workstation that already had it. The job now installs the declared runtime dependency next to build. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8dc7c21..12937b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,8 +36,8 @@ jobs: fi grep -q "PWA_VERSION = '$version'" frontend/index.html - - name: Install build tooling - run: python -m pip install --upgrade pip build + - name: Install build tooling and the runtime dependency + run: python -m pip install --upgrade pip pyusb build - name: Python tests run: python -m unittest discover -s tests