Skip to content

Commit 7f97902

Browse files
Try this
1 parent 99b8537 commit 7f97902

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,8 @@ jobs:
179179
python-version: "${{ matrix.python }}"
180180
- run: "scripts/Sync-Py.ps1 -Version '${{ matrix.python }}'"
181181
# ! https://github.com/pytest-dev/pytest-cov/issues/479#issuecomment-1247444988
182-
- if: startsWith(matrix.runner, 'windows')
183-
run: ". scripts/Initialize-Shell.ps1; pytest --cov --cov-config pyproject.toml"
184-
- if: startsWith(matrix.runner, 'windows') && matrix.python == '3.11'
182+
- run: ". scripts/Initialize-Shell.ps1; pytest --cov --cov-config pyproject.toml"
183+
- if: startsWith(matrix.runner, 'ubuntu') && matrix.python == '3.11'
185184
uses: "codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c" # v4.4.1
186185
env:
187186
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"

src/boilerdaq/daq.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from contextlib import suppress
55
from csv import DictReader, DictWriter
66
from datetime import datetime, timedelta
7-
from os import environ
87
from pathlib import Path
98
from tempfile import NamedTemporaryFile
109
from textwrap import dedent
@@ -39,7 +38,7 @@
3938

4039
from boilerdaq.shim import t_in, v_in
4140

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

0 commit comments

Comments
 (0)