mirror of https://github.com/aminya/setup-cpp
test: skip graphviz test on Macos 11 and older
This commit is contained in:
parent
32bae2b687
commit
99a1254616
|
@ -3,6 +3,7 @@ import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-help
|
|||
import { InstallationInfo } from "../../utils/setup/setupBin"
|
||||
import { getVersion } from "../../versions/versions"
|
||||
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
|
||||
import { macosVersion } from "../../utils/env/macos_version"
|
||||
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-graphviz", () => {
|
||||
|
@ -12,6 +13,11 @@ describe("setup-graphviz", () => {
|
|||
})
|
||||
|
||||
it("should setup graphviz", async () => {
|
||||
if (macosVersion()[0] <= 11) {
|
||||
test.todo("Skipping graphviz test on macOS 11 or earlier")
|
||||
return
|
||||
}
|
||||
|
||||
const installInfo = await setupGraphviz(
|
||||
getVersion("graphviz", undefined, await ubuntuVersion()),
|
||||
directory,
|
||||
|
|
|
@ -6,7 +6,7 @@ import { execRootSync } from "admina"
|
|||
jest.setTimeout(300000)
|
||||
describe("setup-nala", () => {
|
||||
if (!isUbuntu()) {
|
||||
test.skip("should setup nala", () => {})
|
||||
test.todo("should setup nala")
|
||||
return
|
||||
}
|
||||
it("should setup nala", async () => {
|
||||
|
|
Loading…
Reference in New Issue