Skip to content

Commit 52a8c50

Browse files
committed
make path properly relative
1 parent c4ca6e7 commit 52a8c50

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
with:
199199
flags: macos-analytics-toolkit-unittests
200200
verbose: true
201-
file: .test-reports/amazonwebservices.aws-toolkit-vscode-report.xml
201+
file: ./test-reports/amazonwebservices.aws-toolkit-vscode-report.xml
202202
token: ${{ secrets.CODECOV_TOKEN }}
203203
- name: 'Test Analytics (Amazon Q)'
204204
env:
@@ -209,7 +209,7 @@ jobs:
209209
with:
210210
flags: macos-analytics-amazonq-unittests
211211
verbose: true
212-
file: .test-reports/amazonwebservices.amazon-q-vscode-report.xml
212+
file: ./test-reports/amazonwebservices.amazon-q-vscode-report.xml
213213
token: ${{ secrets.CODECOV_TOKEN }}
214214

215215
web:

packages/core/src/test/testRunner.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ export async function runTests(
6565
}
6666

6767
const root = getRoot()
68-
const outputFile = path.resolve(root, '../../', '.test-reports', 'report.xml')
68+
const outputFile = path.resolve(root, '../../', '.test-reports', `${extensionId}-report.xml`)
6969
const colorOutput = !process.env['AWS_TOOLKIT_TEST_NO_COLOR']
70-
70+
console.log('Test being output to %s', outputFile)
7171
// Create the mocha test
7272
const mocha = new Mocha({
7373
ui: 'bdd',

0 commit comments

Comments
 (0)