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

@@ -29,7 +29,6 @@ jobs:
test:
name: ${{ matrix.config.tox }} ${{ matrix.config.options }}
# Ubuntu 22.04 runner includes Python 3.10
runs-on: ubuntu-22.04
needs: skip_duplicate_runs
if: needs.skip_duplicate_runs.outputs.should_skip != 'true'
@@ -40,18 +39,18 @@ jobs:
# Live API integration tests are run on only one representative Python/Django version
# combination, to avoid rapidly consuming the testing accounts' entire send allotments.
config:
- { tox: django41-py310-amazon_ses, python: "3.10" }
- { tox: django41-py310-brevo, python: "3.10" }
- { tox: django41-py310-mailersend, python: "3.10" }
- { tox: django41-py310-mailgun, python: "3.10" }
- { tox: django41-py310-mailjet, python: "3.10" }
- { tox: django41-py310-mandrill, python: "3.10" }
- { tox: django41-py310-postal, python: "3.10" }
- { tox: django41-py310-postmark, python: "3.10" }
- { tox: django41-py310-resend, python: "3.10" }
- { tox: django41-py310-sendgrid, python: "3.10" }
- { tox: django41-py310-sparkpost, python: "3.10" }
- { tox: django41-py310-unisender_go, python: "3.10" }
- { tox: django41-py310-amazon_ses, python: "3.12" }
- { tox: django41-py310-brevo, python: "3.12" }
- { tox: django41-py310-mailersend, python: "3.12" }
- { tox: django41-py310-mailgun, python: "3.12" }
- { tox: django41-py310-mailjet, python: "3.12" }
- { tox: django41-py310-mandrill, python: "3.12" }
- { tox: django41-py310-postal, python: "3.12" }
- { tox: django41-py310-postmark, python: "3.12" }
- { tox: django41-py310-resend, python: "3.12" }
- { tox: django41-py310-sendgrid, python: "3.12" }
- { tox: django41-py310-sparkpost, python: "3.12" }
- { tox: django41-py310-unisender_go, python: "3.12" }
steps:
- name: Get code