From 738cbfc21636e9d53273b837a3811140ac3dc9b4 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 3 Nov 2023 13:49:32 -0700 Subject: [PATCH] devops: call merge-reports with explicit config (#27965) After https://github.com/microsoft/playwright/pull/27963 we have to provide explicit merge config to disambiguate testDir. --- .github/workflows/create_test_report.yml | 2 +- .github/workflows/merge.config.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/merge.config.ts diff --git a/.github/workflows/create_test_report.yml b/.github/workflows/create_test_report.yml index fe33aa0dae..7359f332d8 100644 --- a/.github/workflows/create_test_report.yml +++ b/.github/workflows/create_test_report.yml @@ -31,7 +31,7 @@ jobs: - name: Merge reports run: | - npx playwright merge-reports --reporter markdown,html ./all-blob-reports + npx playwright merge-reports --config .github/workflows/merge.config.ts ./all-blob-reports env: NODE_OPTIONS: --max-old-space-size=4096 diff --git a/.github/workflows/merge.config.ts b/.github/workflows/merge.config.ts new file mode 100644 index 0000000000..b39944bc80 --- /dev/null +++ b/.github/workflows/merge.config.ts @@ -0,0 +1,4 @@ +export default { + testDir: '../../tests', + reporter: [['markdown'], ['html']] +}; \ No newline at end of file