From c611f4aeb78f8afe71ae3085bcb36dbddd0c4e16 Mon Sep 17 00:00:00 2001 From: Alex Southwell Date: Wed, 28 Oct 2026 23:30:18 +0000 Subject: [PATCH] Run live Windows wireless inventory only in dedicated CI job (#396) Co-authored-by: SAPHID --- .github/workflows/checks.yml | 5 +++++ tests/test_wireless.py | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c3cb2e8..5f9676d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -77,6 +77,11 @@ jobs: - name: OBS lifecycle tests run: node app/test/obs-source.test.js - name: Server tests + # The dedicated wireless-windows job runs the live inventory on a fresh + # Windows runner; do not repeat it after the full server suite has + # consumed this runner's probe budget. + env: + FRAME_SKIP_WINDOWS_WIRELESS_LIVE: "1" run: python -m unittest discover -s tests -v # Fast, PC-only Windows query validation, without capture libraries or a headset. diff --git a/tests/test_wireless.py b/tests/test_wireless.py index fffb4d2..7d4291b 100644 --- a/tests/test_wireless.py +++ b/tests/test_wireless.py @@ -7,6 +7,7 @@ import base64 import copy import http.client import json +import os import shutil import subprocess import sys @@ -189,6 +190,8 @@ class Probe(unittest.TestCase): finally: wireless._lock.release() + @unittest.skipIf(os.environ.get('FRAME_SKIP_WINDOWS_WIRELESS_LIVE') == '1', + 'dedicated wireless-windows CI job owns the live inventory') @unittest.skipUnless(wireless.frame_host.WINDOWS, 'Live read-only Windows inventory runs on Windows CI') def test_live_windows_inventory(self): r = wireless.diagnose()