Skip to content

Commit 0d3462a

Browse files
authored
ci: skip "target=code: typescript" test on mac ci #5600
## Problem - This test started failing around sept 10th with no clear code change - #5587 ## Solution - Until we can figure out the problem lets just disable it on mac ci
1 parent 910b3a3 commit 0d3462a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/core/src/test/shared/sam/debugger/samDebugConfigProvider.test.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ import { mkdir, remove } from 'fs-extra'
4747
import { getLogger } from '../../../../shared/logger/logger'
4848
import { CredentialsProvider } from '../../../../auth/providers/credentials'
4949
import globals from '../../../../shared/extensionGlobals'
50+
import { isCI } from '../../../../shared/vscode/env'
5051

5152
/**
5253
* Asserts the contents of a "launch config" (the result of `makeConfig()` or
@@ -673,6 +674,16 @@ describe('SamDebugConfigurationProvider', async function () {
673674
})
674675

675676
it('target=code: typescript', async function () {
677+
/**
678+
* When executing the test on macOS in CI the tests fail with the following error:
679+
* 'Error: TypeScript compiler "tsc" not found in node_modules/ or the system
680+
*
681+
* See: https://github.com/aws/aws-toolkit-vscode/issues/5587
682+
*/
683+
if (isCI() && os.platform() === 'darwin') {
684+
this.skip()
685+
}
686+
676687
const appDir = pathutil.normalize(
677688
path.join(testutil.getProjectDir(), 'testFixtures/workspaceFolder/ts-plain-sam-app/')
678689
)

0 commit comments

Comments
 (0)