Skip to content

Commit

Permalink
Run python 3.12 in CI (#1701)
Browse files Browse the repository at this point in the history
  • Loading branch information
therve authored Oct 18, 2023
1 parent fb8ecc0 commit cdae489
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
token: ${{ steps.get_token.outputs.token }}
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
- name: Install pre-commit
run: python -m pip install pre-commit
- name: set PY
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
test:
strategy:
matrix:
python-version: ["3.7", "3.11"]
python-version: ["3.7", "3.12"]
platform: [ubuntu-latest, macos-latest] # windows-latest
# test only latest version on macos and windows
exclude:
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
cache: "pip"
- name: Upgrade pip
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
repo: datadog-api-spec
status: pending
context: integration
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
cache: "pip"
- name: Upgrade pip
run: |
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/incidents/SearchIncidents.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
with ApiClient(configuration) as api_client:
api_instance = IncidentsApi(api_client)
response = api_instance.search_incidents(
query="state:(active OR stable OR resolved)",
query="state:(active OR stable OR resolved)&from_ts=1693233872794&to_ts=1695912272794",
)

print(response)

0 comments on commit cdae489

Please sign in to comment.