Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
setup:
name: Set up
if: github.repository == 'microsoft/vscode-python'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
defaults:
run:
shell: python
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
- os: windows-latest
target: aarch64-pc-windows-msvc
vsix-target: win32-arm64
- os: ubuntu-latest
- os: ubuntu-22.04
target: x86_64-unknown-linux-musl
vsix-target: linux-x64
# - os: ubuntu-latest
Expand All @@ -76,7 +76,7 @@ jobs:
# - os: macos-14
# target: aarch64-apple-darwin
# vsix-target: darwin-arm64
- os: ubuntu-latest
- os: ubuntu-22.04
target: x86_64-unknown-linux-musl
vsix-target: alpine-x64
# - os: ubuntu-latest
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
lint:
name: Lint
if: github.repository == 'microsoft/vscode-python'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -127,7 +127,7 @@ jobs:
check-types:
name: Check Python types
if: github.repository == 'microsoft/vscode-python'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Use Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v6
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
matrix:
# We're not running CI on macOS for now because it's one less matrix entry to lower the number of runners used,
# macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case.
os: [ubuntu-latest, windows-latest]
os: [ubuntu-22.04, windows-latest]
# Run the tests on the oldest and most recent versions of Python.
python: ['3.9', '3.x', '3.13']

Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
# We're not running CI on macOS for now because it's one less matrix
# entry to lower the number of runners used, macOS runners are expensive,
# and we assume that Ubuntu is enough to cover the UNIX case.
os: [ubuntu-latest, windows-latest]
os: [ubuntu-22.04, windows-latest]
python: ['3.x']
test-suite: [ts-unit, venv, single-workspace, multi-workspace, debugger, functional]
steps:
Expand Down Expand Up @@ -374,7 +374,7 @@ jobs:
with:
run: npm run testSingleWorkspace
working-directory: ${{ env.special-working-directory }}
if: matrix.test-suite == 'venv' && matrix.os == 'ubuntu-latest'
if: matrix.test-suite == 'venv' && matrix.os == 'ubuntu-22.04'

- name: Run single-workspace tests
env:
Expand Down Expand Up @@ -421,7 +421,7 @@ jobs:
include:
- os: windows-latest
vsix-target: win32-x64
- os: ubuntu-latest
- os: ubuntu-22.04
vsix-target: linux-x64

steps:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- os: windows-latest
target: aarch64-pc-windows-msvc
vsix-target: win32-arm64
- os: ubuntu-latest
- os: ubuntu-22.04
target: x86_64-unknown-linux-musl
vsix-target: linux-x64
# - os: ubuntu-latest
Expand All @@ -49,7 +49,7 @@ jobs:
# - os: macos-14
# target: aarch64-apple-darwin
# vsix-target: darwin-arm64
- os: ubuntu-latest
- os: ubuntu-22.04
target: x86_64-unknown-linux-musl
vsix-target: alpine-x64
# - os: ubuntu-latest
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:

lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -98,7 +98,7 @@ jobs:

check-types:
name: Check Python types
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Use Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v6
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
matrix:
# We're not running CI on macOS for now because it's one less matrix entry to lower the number of runners used,
# macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case.
os: [ubuntu-latest, windows-latest]
os: [ubuntu-22.04, windows-latest]
# Run the tests on the oldest and most recent versions of Python.
python: ['3.9', '3.x', '3.13'] # run for 3 pytest versions, most recent stable, oldest version supported and pre-release
pytest-version: ['pytest', 'pytest@pre-release', 'pytest==6.2.0']
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
matrix:
# We're not running CI on macOS for now because it's one less matrix entry to lower the number of runners used,
# macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case.
os: [ubuntu-latest, windows-latest]
os: [ubuntu-22.04, windows-latest]
# Run the tests on the oldest and most recent versions of Python.
python: ['3.x']
test-suite: [ts-unit, venv, single-workspace, debugger, functional]
Expand Down Expand Up @@ -408,7 +408,7 @@ jobs:
matrix:
# We're not running CI on macOS for now because it's one less matrix entry to lower the number of runners used,
# macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case.
os: [ubuntu-latest, windows-latest]
os: [ubuntu-22.04, windows-latest]

steps:
- name: Checkout
Expand Down Expand Up @@ -446,7 +446,7 @@ jobs:
include:
- os: windows-latest
vsix-target: win32-x64
- os: ubuntu-latest
- os: ubuntu-22.04
vsix-target: linux-x64

steps:
Expand Down Expand Up @@ -484,7 +484,7 @@ jobs:
fail-fast: false
matrix:
# Only run coverage on linux for PRs
os: [ubuntu-latest]
os: [ubuntu-22.04]

steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions src/client/testing/testController/common/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ interface ExecutionResultMessage extends Message {
* On Windows, it returns the default temporary directory.
* On macOS/Linux, it prefers the `XDG_RUNTIME_DIR` environment variable if set,
* otherwise, it falls back to the default temporary directory.
* trivial edit
*
* @returns {string} The path to the temporary directory.
*/
Expand Down