From 6932793236b13907617d259bba3bb4c86ee8affe Mon Sep 17 00:00:00 2001 From: scito Date: Fri, 28 Apr 2023 10:27:18 +0200 Subject: [PATCH] ci: disable Python 3.10 testing only for macos --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04fe139..1349384 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - python-version: ["3.x", "3.11", "3.9", "3.8", "3.7"] + python-version: ["3.x", "3.11", "3.10", "3.9", "3.8", "3.7"] platform: [ubuntu-latest, macos-latest, windows-latest] # exclude: @@ -60,8 +60,7 @@ jobs: if: matrix.python-version == '3.x' && matrix.platform == 'ubuntu-latest' - name: Test with 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.python-version != '3.10' && matrix.platform != 'macos-latest') - name: Test with pytest (with code coverage) run: pytest --cov=extract_otp_secrets_test --junitxml=pytest.xml --cov-report=term-missing | tee pytest-coverage.txt if: matrix.python-version == '3.x' && matrix.platform == 'ubuntu-latest'