be more specific with python versions - so caching can be safe (#1769)

This commit is contained in:
jackie-pc 2023-09-06 15:51:44 -07:00 committed by GitHub
parent 6fa9bfea09
commit 869c67d67e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 6 deletions

View File

@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup_build_env
with:
python-version: "3.11"
python-version: "3.11.5"
run-poetry-install: true
create-venv-at-path: .venv
- run: poetry run pip install pyvirtualdisplay pillow

View File

@ -33,8 +33,22 @@ jobs:
matrix:
# Show OS combos first in GUI
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
node-version: [ "16.x" ]
python-version: ["3.8.18", "3.9.18", "3.10.13", "3.11.5"]
exclude:
- os: windows-latest
python-version: "3.10.13"
- os: windows-latest
python-version: "3.9.18"
- os: windows-latest
python-version: "3.8.18"
include:
- os: windows-latest
python-version: "3.10.11"
- os: windows-latest
python-version: "3.9.13"
- os: windows-latest
python-version: "3.8.10"
runs-on: ${{ matrix.os }}
steps:
@ -86,7 +100,7 @@ jobs:
matrix:
# Show OS combos first in GUI
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ "3.10", "3.11" ]
python-version: [ "3.10.10", "3.11.4" ]
node-version: [ "16.x" ]
runs-on: ${{ matrix.os }}

View File

@ -18,7 +18,7 @@ jobs:
with:
# running vs. one version of Python is OK
# i.e. ruff, black, etc.
python-version: 3.11
python-version: 3.11.5
run-poetry-install: true
shell: bash
create-venv-at-path: .venv

View File

@ -23,8 +23,22 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# TODO consider bringing back 3.7. Note Windows x 3.7 fails from some sqlalchemy related problem
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8.18", "3.9.18", "3.10.13", "3.11.5"]
# Windows is a bit behind on Python version availability in Github
exclude:
- os: windows-latest
python-version: "3.10.13"
- os: windows-latest
python-version: "3.9.18"
- os: windows-latest
python-version: "3.8.18"
include:
- os: windows-latest
python-version: "3.10.11"
- os: windows-latest
python-version: "3.9.13"
- os: windows-latest
python-version: "3.8.10"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3