From 9592e6ebfe6196229bbc1b3b1636bb97eed9cc82 Mon Sep 17 00:00:00 2001 From: scito Date: Fri, 30 Dec 2022 18:29:23 +0100 Subject: [PATCH] ci: workaround macOS pytest segfauls -> exclude macOS --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bac606d..a9f2ced 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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'