diff --git a/.github/workflows/actions/generate-test-report/action.yml b/.github/workflows/actions/generate-test-report/action.yml index 5be7231e57..2dba277afb 100644 --- a/.github/workflows/actions/generate-test-report/action.yml +++ b/.github/workflows/actions/generate-test-report/action.yml @@ -15,7 +15,7 @@ runs: # directory, including nested directories. # It then unzips every .zip to the root directory run: | - find . -type f -name 'test-report-*.zip' -exec unzip -q -o -d ../ {} \; + find . -type f -name 'TestReport-*.zip' -exec unzip -q -o -d ../ {} \; ls; cd ../ && ls; shell: bash diff --git a/core/test-reporter/src/index.ts b/core/test-reporter/src/index.ts index 4d71f261eb..27ff6eda33 100644 --- a/core/test-reporter/src/index.ts +++ b/core/test-reporter/src/index.ts @@ -77,7 +77,7 @@ const generateReport = async () => { }); } - console.log(generateTable(flakyDict)); + return generateTable(flakyDict); } @@ -137,4 +137,6 @@ const generateRows = (specs: any) => { return template; } -console.log(generateReport()); +generateReport().then((res) => { + console.log(res); +});