mirror of https://github.com/aminya/setup-cpp
fix: downgrade gcovr to 5.2
This commit is contained in:
parent
e05c1f4361
commit
d8a5d20641
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
|
@ -28,7 +28,7 @@ describe("setup-python", () => {
|
||||||
|
|
||||||
const installInfo = await setupPython(getVersion("python", "true", await ubuntuVersion()), directory, process.arch)
|
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 () => {
|
afterAll(async () => {
|
||||||
|
|
|
@ -238,13 +238,13 @@ async function ensurePipUpgrade(foundPython: string) {
|
||||||
await execa(foundPython, ["-m", "ensurepip", "-U", "--upgrade"], { stdio: "inherit" })
|
await execa(foundPython, ["-m", "ensurepip", "-U", "--upgrade"], { stdio: "inherit" })
|
||||||
return true
|
return true
|
||||||
} catch (err1) {
|
} catch (err1) {
|
||||||
info((err1 as Error)?.toString?.())
|
info((err1 as Error).toString())
|
||||||
try {
|
try {
|
||||||
// ensure pip is disabled on Ubuntu
|
// ensure pip is disabled on Ubuntu
|
||||||
await execa(foundPython, ["-m", "pip", "install", "--upgrade", "pip"], { stdio: "inherit" })
|
await execa(foundPython, ["-m", "pip", "install", "--upgrade", "pip"], { stdio: "inherit" })
|
||||||
return true
|
return true
|
||||||
} catch (err2) {
|
} catch (err2) {
|
||||||
info((err2 as Error)?.toString?.())
|
info((err2 as Error).toString())
|
||||||
// pip module not found
|
// pip module not found
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ export const DefaultVersions: Record<string, string | undefined> = {
|
||||||
clangformat: getLLVMDefault(),
|
clangformat: getLLVMDefault(),
|
||||||
ninja: "1.11.1", // https://github.com/ninja-build/ninja/releases
|
ninja: "1.11.1", // https://github.com/ninja-build/ninja/releases
|
||||||
cmake: "3.27.4", // https://github.com/Kitware/CMake/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
|
conan: "1.62.0", // https://github.com/conan-io/conan/releases
|
||||||
meson: "1.2.3", // https://github.com/mesonbuild/meson/releases
|
meson: "1.2.3", // https://github.com/mesonbuild/meson/releases
|
||||||
kcov: "42", // https://github.com/SimonKagstrom/kcov/releases
|
kcov: "42", // https://github.com/SimonKagstrom/kcov/releases
|
||||||
|
|
Loading…
Reference in New Issue