mirror of https://github.com/aminya/setup-cpp
fix: skip kcov on non linux
This commit is contained in:
parent
45eb099dc6
commit
c1033204f2
|
@ -6,7 +6,7 @@ import { info } from "@actions/core"
|
|||
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-Kcov", () => {
|
||||
if (process.platform !== "win32") {
|
||||
if (process.platform !== "linux") {
|
||||
it.todo("should setup kcov on non-Windows")
|
||||
return
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ async function buildKcov(file: string, dest: string) {
|
|||
}
|
||||
|
||||
export async function setupKcov(versionGiven: string, setupDir: string, arch: string) {
|
||||
if (process.platform !== "win32") {
|
||||
if (process.platform !== "linux") {
|
||||
info("Kcov is not supported on non-linux")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue