ci: workaround macOS pytest segfauls -> exclude macOS

cv2_1
scito 1 year ago
parent d6c285e59d
commit 9592e6ebfe

@ -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'

Loading…
Cancel
Save