Skip to content

Commit a8d6830

Browse files
Try this
1 parent 7f97902 commit a8d6830

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/high.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@ jobs:
130130
with:
131131
python-version: "${{ matrix.python }}"
132132
- run: "scripts/Sync-Py.ps1 -Version '${{ matrix.python }}'"
133-
- if: startsWith(matrix.runner, 'windows')
134-
run: ". scripts/Initialize-Shell.ps1; pytest"
133+
- run: ". scripts/Initialize-Shell.ps1; pytest"
135134
lock:
136135
needs:
137136
- "ruff"

scripts/Initialize-Shell.ps1

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
.SYNOPSIS
33
Initialization commands for PowerShell shells in pre-commit and tasks.#>
44

5+
# ? Disable GUI in CI
6+
if ($Env:CI) {$Env:QT_QPA_PLATFORM = "offscreen"}
7+
58
# ? Error-handling
69
$ErrorActionPreference = 'Stop'
710
($PSNativeCommandUseErrorActionPreference = $true) | Out-Null

src/boilerdaq/daq.py

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838

3939
from boilerdaq.shim import t_in, v_in
4040

41-
# environ["QT_QPA_PLATFORM"] = "xcb"
4241
if not get_daq_device_inventory(InterfaceType.USB): # pyright: ignore[reportArgumentType]
4342
from boilerdaq.dummy import t_in, v_in
4443
except FileNotFoundError:

0 commit comments

Comments
 (0)