Skip to content

Commit 0c5d2ab

Browse files
clintonsteinerwebknjaz
authored andcommitted
ci: add in matrix builds for python ut, caching for python setup, bump python setup version to 5
1 parent 78e1aa8 commit 0c5d2ab

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
2223
noxenv:
2324
- build
2425
- linkcheck
@@ -27,9 +28,9 @@ jobs:
2728
- uses: actions/checkout@v4
2829

2930
- name: Set up Python
30-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
3132
with:
32-
python-version: "3.11"
33+
python-version: ${{ matrix.python }}
3334
cache: 'pip'
3435
cache-dependency-path: 'requirements.txt'
3536

.github/workflows/translation.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ jobs:
5151
git merge '${{ github.event.repository.default_branch }}'
5252
5353
- name: Set up Python
54-
uses: actions/setup-python@v4
54+
uses: actions/setup-python@v5
5555
with:
5656
python-version: >-
5757
3.10
58+
cache: 'pip'
59+
cache-dependency-path: 'requirements.txt'
5860

5961
- name: Install Python tooling
6062
run: python -m pip install --upgrade nox virtualenv

0 commit comments

Comments
 (0)