Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 769b7b3

Browse files
committed
Add 3.11 to CI matrix, update chart generation to support 3.11, unpin 3.10 in setups
1 parent 3688b8e commit 769b7b3

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/update-and-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
version: [3.8, 3.9, '3.10']
13+
version: [3.8, 3.9, '3.10', 3.11]
1414
steps:
1515
- uses: styfle/cancel-workflow-action@main
1616
with:
@@ -50,13 +50,13 @@ jobs:
5050
runs-on: ubuntu-latest
5151
strategy:
5252
matrix:
53-
version: [3.8, 3.9, '3.10']
53+
version: [3.8, 3.9, '3.10', 3.11]
5454
format: [html, latex]
5555
needs: ['update-translation']
5656
steps:
5757
- uses: actions/setup-python@master
5858
with:
59-
python-version: '3.10'
59+
python-version: 3
6060
- uses: actions/checkout@master
6161
with:
6262
repository: python/cpython
@@ -79,7 +79,7 @@ jobs:
7979
runs-on: ubuntu-latest
8080
strategy:
8181
matrix:
82-
version: [3.8, 3.9, '3.10']
82+
version: [3.8, 3.9, '3.10', 3.11]
8383
needs: ['build-translation']
8484
steps:
8585
- uses: actions/download-artifact@master

.github/workflows/update-chart.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
on:
2-
push: {branches: ['3.10']}
2+
push: {branches: ['3.11']}
33
workflow_dispatch:
44
jobs:
55
update-chart:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/setup-python@master
99
with:
10-
python-version: '3.10'
10+
python-version: 3
1111
- run: pip install gitpython matplotlib
1212
- uses: actions/checkout@master
1313
with:
14-
ref: '3.10'
14+
ref: '3.11'
1515
fetch-depth: 0
1616
- run: python update_switcher_chart.py
1717
- run: git config --local user.email [email protected]
@@ -20,5 +20,5 @@ jobs:
2020
- run: git commit -m 'Update language switcher progress chart' || return 0
2121
- uses: ad-m/github-push-action@master
2222
with:
23-
branch: '3.10'
23+
branch: '3.11'
2424
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)