ci: tryout downgrade opencv for macos
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -51,7 +51,8 @@ jobs:
|
|||||||
if: matrix.python-version == '3.x'
|
if: matrix.python-version == '3.x'
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: pytest
|
run: pytest
|
||||||
if: (matrix.python-version != '3.x' || matrix.platform != 'ubuntu-latest') && matrix.platform != 'macos-latest'
|
if: (matrix.python-version != '3.x' || matrix.platform != 'ubuntu-latest')
|
||||||
|
# && matrix.platform != 'macos-latest'
|
||||||
- name: Test with pytest (with code coverage)
|
- name: Test with pytest (with code coverage)
|
||||||
run: pytest --cov=test_extract_otp_secret_keys_pytest --junitxml=pytest.xml --cov-report=term-missing | tee pytest-coverage.txt
|
run: pytest --cov=test_extract_otp_secret_keys_pytest --junitxml=pytest.xml --cov-report=term-missing | tee pytest-coverage.txt
|
||||||
if: matrix.python-version == '3.x' && matrix.platform == 'ubuntu-latest'
|
if: matrix.python-version == '3.x' && matrix.platform == 'ubuntu-latest'
|
||||||
|
|||||||
@@ -34,7 +34,8 @@ dependencies = [
|
|||||||
"Pillow",
|
"Pillow",
|
||||||
"qreader",
|
"qreader",
|
||||||
"pyzbar",
|
"pyzbar",
|
||||||
"opencv-python",
|
"opencv-python<=4.7.0; sys_platform == 'darwin'",
|
||||||
|
"opencv-python; sys_platform != 'darwin'",
|
||||||
"typing_extensions; python_version<='3.7'",
|
"typing_extensions; python_version<='3.7'",
|
||||||
]
|
]
|
||||||
description = "Extract two-factor authentication (2FA, TFA, OTP) secret keys from export QR codes of 'Google Authenticator' app"
|
description = "Extract two-factor authentication (2FA, TFA, OTP) secret keys from export QR codes of 'Google Authenticator' app"
|
||||||
|
|||||||
Reference in New Issue
Block a user