ci: Pytest coverage comment only for 3.x and ubuntu-latest
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -61,3 +61,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
pytest-coverage-path: ./pytest-coverage.txt
|
pytest-coverage-path: ./pytest-coverage.txt
|
||||||
junitxml-path: ./pytest.xml
|
junitxml-path: ./pytest.xml
|
||||||
|
if: matrix.python-version == '3.x' && matrix.platform == 'ubuntu-latest'
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ def extract_otps_from_camera(args: Args) -> Otps:
|
|||||||
elif key == 32:
|
elif key == 32:
|
||||||
qr_mode = QRMode((qr_mode.value + 1) % len(QRMode))
|
qr_mode = QRMode((qr_mode.value + 1) % len(QRMode))
|
||||||
if verbose: print(f"QR reading mode: {qr_mode}")
|
if verbose: print(f"QR reading mode: {qr_mode}")
|
||||||
if cv2.getWindowProperty(window_name,cv2.WND_PROP_VISIBLE) < 1:
|
if cv2.getWindowProperty(window_name, cv2.WND_PROP_VISIBLE) < 1:
|
||||||
# Window close clicked
|
# Window close clicked
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user