Skip to content

Commit d8a5d20

Browse files
committed
fix: downgrade gcovr to 5.2
1 parent e05c1f4 commit d8a5d20

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

dist/actions/setup-cpp.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/actions/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/python/__tests__/python.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe("setup-python", () => {
2828

2929
const installInfo = await setupPython(getVersion("python", "true", await ubuntuVersion()), directory, process.arch)
3030

31-
await testBin("python", ["--version"], installInfo?.binDir)
31+
await testBin("python", ["--version"], installInfo.binDir)
3232
})
3333

3434
afterAll(async () => {

src/python/python.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,13 @@ async function ensurePipUpgrade(foundPython: string) {
238238
await execa(foundPython, ["-m", "ensurepip", "-U", "--upgrade"], { stdio: "inherit" })
239239
return true
240240
} catch (err1) {
241-
info((err1 as Error)?.toString?.())
241+
info((err1 as Error).toString())
242242
try {
243243
// ensure pip is disabled on Ubuntu
244244
await execa(foundPython, ["-m", "pip", "install", "--upgrade", "pip"], { stdio: "inherit" })
245245
return true
246246
} catch (err2) {
247-
info((err2 as Error)?.toString?.())
247+
info((err2 as Error).toString())
248248
// pip module not found
249249
}
250250
}

src/versions/default_versions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const DefaultVersions: Record<string, string | undefined> = {
2323
clangformat: getLLVMDefault(),
2424
ninja: "1.11.1", // https://github.com/ninja-build/ninja/releases
2525
cmake: "3.27.4", // https://github.com/Kitware/CMake/releases
26-
gcovr: "6.0", // https://pypi.org/project/gcovr/
26+
gcovr: "5.2", // "6.0", // https://pypi.org/project/gcovr/
2727
conan: "1.62.0", // https://github.com/conan-io/conan/releases
2828
meson: "1.2.3", // https://github.com/mesonbuild/meson/releases
2929
kcov: "42", // https://github.com/SimonKagstrom/kcov/releases

0 commit comments

Comments
 (0)