Skip to content

Commit 0324d60

Browse files
committed
test: use the correct python binary name on darwin
1 parent 87f5702 commit 0324d60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/python/__tests__/python.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ 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+
const python = process.platform === "darwin" ? "python3" : "python"
32+
await testBin(python, ["--version"], installInfo.binDir)
3233
})
3334

3435
afterAll(async () => {

0 commit comments

Comments
 (0)