Skip to content

Commit 991e72f

Browse files
author
Prathik Rao
committed
upload logs
1 parent 5d1d140 commit 991e72f

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build-js-steps.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,9 @@ jobs:
133133
with:
134134
name: js-sdk-${{ inputs.platform }}${{ inputs.useWinML == true && '-winml' }}
135135
path: sdk_v2/js/*.tgz
136+
137+
- name: Upload flcore logs
138+
uses: actions/upload-artifact@v4
139+
with:
140+
name: js-sdk-${{ inputs.platform }}${{ inputs.useWinML == true && '-winml' }}-logs
141+
path: sdk_v2/js/logs/**

sdk_v2/js/test/testUtils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export const IS_RUNNING_IN_CI = isRunningInCI();
3333
export const TEST_CONFIG: FoundryLocalConfig = {
3434
appName: 'FoundryLocalTest',
3535
modelCacheDir: getTestDataSharedPath(),
36-
logLevel: 'warn'
36+
logLevel: 'warn',
37+
logsDir: path.join(getGitRepoRoot(), 'sdk_v2', 'js', 'logs')
3738
};
3839

3940
export const TEST_MODEL_ALIAS = 'qwen2.5-0.5b';

0 commit comments

Comments
 (0)