|
|
|
@ -50,8 +50,8 @@ jobs:
|
|
|
|
|
mypy --strict src/*.py tests/*.py
|
|
|
|
|
if: matrix.python-version == '3.x'
|
|
|
|
|
- name: Test with pytest
|
|
|
|
|
run: python -m pytest
|
|
|
|
|
if: matrix.python-version != '3.x' || matrix.platform == 'ubuntu-latest'
|
|
|
|
|
run: pytest
|
|
|
|
|
if: (matrix.python-version != '3.x' || matrix.platform != 'ubuntu-latest') && matrix.platform != 'macOS'
|
|
|
|
|
- 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
|
|
|
|
|
if: matrix.python-version == '3.x' && matrix.platform == 'ubuntu-latest'
|
|
|
|
|