diff --git a/test/integration/runTest.ts b/test/integration/runTest.ts index c2007237..84ff37f6 100644 --- a/test/integration/runTest.ts +++ b/test/integration/runTest.ts @@ -6,7 +6,9 @@ import { spawnSync } from 'child_process'; async function main() { try { // Install PyPi dependencies - const results = spawnSync(`pip`, [ + const results = spawnSync(`python3`, [ + '-m', + 'pip', 'install', '-r', path.resolve(__dirname, '../../../test/requirements.txt'), diff --git a/test/requirements.txt b/test/requirements.txt index fb8a36b6..f863e644 100644 --- a/test/requirements.txt +++ b/test/requirements.txt @@ -1,3 +1,4 @@ +fypp fortls findent fprettify diff --git a/test/unitTest/runTest.ts b/test/unitTest/runTest.ts index c2007237..84ff37f6 100644 --- a/test/unitTest/runTest.ts +++ b/test/unitTest/runTest.ts @@ -6,7 +6,9 @@ import { spawnSync } from 'child_process'; async function main() { try { // Install PyPi dependencies - const results = spawnSync(`pip`, [ + const results = spawnSync(`python3`, [ + '-m', + 'pip', 'install', '-r', path.resolve(__dirname, '../../../test/requirements.txt'),