diff --git a/integration-tests/src/runTest.ts b/integration-tests/src/runTest.ts index 848c34b3..18d2aa2c 100644 --- a/integration-tests/src/runTest.ts +++ b/integration-tests/src/runTest.ts @@ -10,7 +10,7 @@ import { resolveCliArgsFromVSCodeExecutablePath, runTests } from '@vscode/test-electron' -import { pythonVersion, bashVersion } from './utils/version' +import { pythonVersion, bashVersion, pylintVersion, flake8Version, shellcheckVersion } from './utils/version' async function main (): Promise { try { @@ -23,7 +23,10 @@ async function main (): Promise { [ ...args, '--install-extension', `mads-hartmann.bash-ide-vscode@${bashVersion}`, - '--install-extension', `ms-python.python@${pythonVersion}` + '--install-extension', `ms-python.python@${pythonVersion}`, + '--install-extension', `timonwong.shellcheck@${shellcheckVersion}`, + '--install-extension', `ms-python.flake8@${flake8Version}`, + '--install-extension', `ms-python.pylint@${pylintVersion}` ], { encoding: 'utf-8', diff --git a/integration-tests/src/utils/version.ts b/integration-tests/src/utils/version.ts index 0df53ea3..f36aa832 100644 --- a/integration-tests/src/utils/version.ts +++ b/integration-tests/src/utils/version.ts @@ -5,4 +5,7 @@ // Required extension versions export const bashVersion = '1.41.0' -export const pythonVersion = '2024.6.0' +export const pythonVersion = '2024.10.0' +export const shellcheckVersion = '0.37.1' +export const flake8Version = '2023.10.0' +export const pylintVersion = '2023.10.1' diff --git a/scripts/update-ref.sh b/scripts/update-ref.sh index 2ee07635..c0bdd14c 100755 --- a/scripts/update-ref.sh +++ b/scripts/update-ref.sh @@ -45,6 +45,27 @@ echo "export const pythonVersion = '$(git tag --sort=-v:refname | head -n 1 | se cd .. rm -rf vscode-python +git clone --depth 1 --filter=blob:none --sparse https://github.com/vscode-shellcheck/vscode-shellcheck +cd vscode-shellcheck +git fetch --tags +echo "export const shellcheckVersion = '$(git tag --sort=-v:refname | head -n 1 | sed "s/^v//")'" >> ../$TMP +cd .. +rm -rf vscode-shellcheck + +git clone --depth 1 --filter=blob:none --sparse https://github.com/microsoft/vscode-flake8 +cd vscode-flake8 +git fetch --tags +echo "export const flake8Version = '$(git tag --sort=-v:refname | head -n 1 | sed "s/^v//")'" >> ../$TMP +cd .. +rm -rf vscode-flake8 + +git clone --depth 1 --filter=blob:none --sparse https://github.com/microsoft/vscode-pylint +cd vscode-pylint +git fetch --tags +echo "export const pylintVersion = '$(git tag --sort=-v:refname | head -n 1 | sed "s/^v//")'" >> ../$TMP +cd .. +rm -rf vscode-pylint + cp $TMP $DEST rm $TMP