From fc6642b47734ec34ff77b12b51b852e440b1dfae Mon Sep 17 00:00:00 2001 From: Antoine Weisrock Date: Thu, 2 May 2024 18:46:56 +0200 Subject: [PATCH] ci: disable check with Python 3.7 run on macOS, no longer supported --- .github/workflows/test_python_package.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test_python_package.yml b/.github/workflows/test_python_package.yml index 3be4b98d..788385bc 100644 --- a/.github/workflows/test_python_package.yml +++ b/.github/workflows/test_python_package.yml @@ -40,5 +40,10 @@ jobs: # Install the crappy Python module - name: Install Crappy run: python -m pip install . + # Check if the module imports as expected + # Cannot run for Python 3.7 on macOS as it is not supported anymore - name: Import Crappy + if: | + contains(fromJSON('["Linux", "Windows"]'), runner.os) || + contains(fromJSON('["3.8", "3.9", "3.10", "3.11", "3.12"]'), matrix.python-version) run: python -c "import crappy; print(crappy.__version__)"