Be more precise about when to use python 3.11

Only run use 3.11 on versions of of the CLI that we know don't support
3.12.
This commit is contained in:
Andrew Eisenberg 2023-11-01 18:10:09 -07:00
parent bd4005aa6a
commit 9ef69a2c7a
41 changed files with 480 additions and 41 deletions

View file

@ -38,7 +38,13 @@ jobs:
steps:
- name: Setup Python on MacOS
uses: actions/setup-python@v2
if: matrix.os == 'macos-latest'
if: |
matrix.os == 'macos-latest' && (
matrix.version == 'stable-20220908' ||
matrix.version == 'stable-20221211' ||
matrix.version == 'stable-20230418' ||
matrix.version == 'stable-v2.13.5' ||
matrix.version == 'stable-v2.14.6')
with:
python-version: '3.11'