Skip to content

Commit 572342f

Browse files
authored
Update CI Python version (#1220)
* add 3.11 to tests * update CI python versions to 3.11
1 parent cf49252 commit 572342f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-python@v4
2020
name: Install Python
2121
with:
22-
python-version: "3.10"
22+
python-version: "3.11"
2323
cache: "pip"
2424

2525
- name: Install pypa/build

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
token: ${{ steps.get_token.outputs.token }}
3535
- uses: actions/setup-python@v4
3636
with:
37-
python-version: '3.10'
37+
python-version: '3.11'
3838
- name: Install pre-commit
3939
run: python -m pip install pre-commit
4040
- name: set PY
@@ -66,7 +66,7 @@ jobs:
6666
test:
6767
strategy:
6868
matrix:
69-
python-version: ["3.7", "3.10"]
69+
python-version: ["3.7", "3.11"]
7070
platform: [ubuntu-latest, macos-latest] # windows-latest
7171
# test only latest version on macos and windows
7272
exclude:
@@ -104,7 +104,7 @@ jobs:
104104
- name: Install Python
105105
uses: actions/setup-python@v4
106106
with:
107-
python-version: "3.10"
107+
python-version: "3.11"
108108
- name: Upgrade pip
109109
run: |
110110
python -m pip install --upgrade pip

.github/workflows/test_integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
repo: datadog-api-spec
5151
status: pending
5252
context: integration
53-
- name: Set up Python 3.10
53+
- name: Set up Python 3.11
5454
uses: actions/setup-python@v4
5555
with:
56-
python-version: "3.10"
56+
python-version: "3.11"
5757
cache: "pip"
5858
- name: Upgrade pip
5959
run: |

0 commit comments

Comments
 (0)