mirror of https://github.com/aminya/setup-cpp
test: use the correct python binary name on darwin
This commit is contained in:
parent
87f57022f5
commit
0324d60e51
|
@ -28,7 +28,8 @@ 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)
|
const python = process.platform === "darwin" ? "python3" : "python"
|
||||||
|
await testBin(python, ["--version"], installInfo.binDir)
|
||||||
})
|
})
|
||||||
|
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
|
|
Loading…
Reference in New Issue