File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -130,8 +130,7 @@ jobs:
130
130
with :
131
131
python-version : " ${{ matrix.python }}"
132
132
- 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"
135
134
lock :
136
135
needs :
137
136
- " ruff"
Original file line number Diff line number Diff line change 2
2
. SYNOPSIS
3
3
Initialization commands for PowerShell shells in pre-commit and tasks.#>
4
4
5
+ # ? Disable GUI in CI
6
+ if ($Env: CI ) {$Env: QT_QPA_PLATFORM = " offscreen" }
7
+
5
8
# ? Error-handling
6
9
$ErrorActionPreference = ' Stop'
7
10
($PSNativeCommandUseErrorActionPreference = $true ) | Out-Null
Original file line number Diff line number Diff line change 38
38
39
39
from boilerdaq .shim import t_in , v_in
40
40
41
- # environ["QT_QPA_PLATFORM"] = "xcb"
42
41
if not get_daq_device_inventory (InterfaceType .USB ): # pyright: ignore[reportArgumentType]
43
42
from boilerdaq .dummy import t_in , v_in
44
43
except FileNotFoundError :
You can’t perform that action at this time.
0 commit comments