CI/CD: use Python 3.12 by default

For CI/CD tasks not testing a specific Python version, switch to Python 3.12.
(Had been using mixture of 3.10 and 3.11. GitHub's ubuntu-22.04 runner has
Python 3.10 installed by default, but 3.12 should be in the tool cache.)
This commit is contained in:
Mike Edmunds
2024-09-08 16:20:10 -07:00
parent 0e020b21e2
commit 1da9011f50
4 changed files with 16 additions and 18 deletions

View File

@@ -30,7 +30,6 @@ jobs:
python -m tox --gh-matrix-dump # for debugging
test:
# Ubuntu 22.04 runner includes Python 3.10
runs-on: ubuntu-22.04
needs: get-envlist
strategy:
@@ -53,7 +52,7 @@ jobs:
# for installing/running tox
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- name: Install tox
run: |
set -x