fix: downgrade gcovr to 5.2

This commit is contained in:
Amin Yahyaabadi 2024-01-22 02:28:55 -08:00
parent e05c1f4361
commit d8a5d20641
No known key found for this signature in database
GPG Key ID: F52AF77F636088F0
9 changed files with 13 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -28,7 +28,7 @@ describe("setup-python", () => {
const installInfo = await setupPython(getVersion("python", "true", await ubuntuVersion()), directory, process.arch)
await testBin("python", ["--version"], installInfo?.binDir)
await testBin("python", ["--version"], installInfo.binDir)
})
afterAll(async () => {

View File

@ -238,13 +238,13 @@ async function ensurePipUpgrade(foundPython: string) {
await execa(foundPython, ["-m", "ensurepip", "-U", "--upgrade"], { stdio: "inherit" })
return true
} catch (err1) {
info((err1 as Error)?.toString?.())
info((err1 as Error).toString())
try {
// ensure pip is disabled on Ubuntu
await execa(foundPython, ["-m", "pip", "install", "--upgrade", "pip"], { stdio: "inherit" })
return true
} catch (err2) {
info((err2 as Error)?.toString?.())
info((err2 as Error).toString())
// pip module not found
}
}

View File

@ -23,7 +23,7 @@ export const DefaultVersions: Record<string, string | undefined> = {
clangformat: getLLVMDefault(),
ninja: "1.11.1", // https://github.com/ninja-build/ninja/releases
cmake: "3.27.4", // https://github.com/Kitware/CMake/releases
gcovr: "6.0", // https://pypi.org/project/gcovr/
gcovr: "5.2", // "6.0", // https://pypi.org/project/gcovr/
conan: "1.62.0", // https://github.com/conan-io/conan/releases
meson: "1.2.3", // https://github.com/mesonbuild/meson/releases
kcov: "42", // https://github.com/SimonKagstrom/kcov/releases