Skip to content

Commit 388b86d

Browse files
committed
Pin ubuntu 22.04 so that we can still test on Py37
1 parent f27f4b2 commit 388b86d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
LAB_OBO_PUBLIC_CLIENT_ID: ${{ secrets.LAB_OBO_PUBLIC_CLIENT_ID }}
2626

2727
# Derived from https://docs.github.com/en/actions/guides/building-and-testing-python#starting-with-the-python-workflow-template
28-
runs-on: ubuntu-latest # It switched to 22.04 shortly after 2022-Nov-8
28+
runs-on: ubuntu-22.04
2929
strategy:
3030
matrix:
31-
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
31+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
3232

3333
steps:
3434
- uses: actions/checkout@v4

tests/test_cloudshell.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ def test_expected_behaviors(self):
1212
"https://double-slash.com//scope": "https://double-slash.com/",
1313
"https://single-slash.com/scope": "https://single-slash.com",
1414
"guid/some/scope": "guid",
15-
"797f4846-ba00-4fd7-ba43-dac1f8f63013/.default": # Realistic GUID
16-
"797f4846-ba00-4fd7-ba43-dac1f8f63013"
15+
"6dae42f8-4368-4678-94ff-3960e28e3630/.default":
16+
# The real guid of AKS resource
17+
# https://learn.microsoft.com/en-us/azure/aks/kubelogin-authentication#how-to-use-kubelogin-with-aks
18+
"6dae42f8-4368-4678-94ff-3960e28e3630",
1719
}.items():
1820
self.assertEqual(_scope_to_resource(scope), expected_resource)
1921

0 commit comments

Comments
 (0)