You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ha...@apache.org on 2026/08/28 17:35:03 UTC

(superset) 01/01: chore(ci): skip Jest test HTML report generation to save up time

This is an automated email from the ASF dual-hosted git repository.

hainenber pushed a commit to branch chore/skip-jest-test-html-reporter-generation-on-ci
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 7221ffa78f109ba416086161e29718412d6e74ca
Author: hainenber <do...@gmail.com>
AuthorDate: Sat Aug 29 00:34:44 2026 +0700

    chore(ci): skip Jest test HTML report generation to save up time
    
    Signed-off-by: hainenber <do...@gmail.com>
---
 superset-frontend/jest.config.js | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/superset-frontend/jest.config.js b/superset-frontend/jest.config.js
index a1741493093..a3e3592d3ec 100644
--- a/superset-frontend/jest.config.js
+++ b/superset-frontend/jest.config.js
@@ -90,12 +90,15 @@ module.exports = {
   },
   reporters: [
     'default',
-    [
-      './node_modules/jest-html-reporter',
-      {
-        pageTitle: 'Test Report',
-      },
-    ],
+    // HTML reporter is not used on CI so skipping its generation for saving time
+    ...(process.env.CI
+      ? []
+      : [
+          './node_modules/jest-html-reporter',
+          {
+            pageTitle: 'Test Report',
+          },
+        ]),
   ],
   testTimeout: 20000,
 };