From e807f85334da70719f8df27299b5b5b2a403c8a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20L=C3=B3pez?= Date: Fri, 5 Apr 2024 19:16:34 +0200 Subject: [PATCH] Fixed tests path and command params to not send statistics --- commands/lighthouse/lighthouse | 4 ++-- docker-compose.lighthouse.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/lighthouse/lighthouse b/commands/lighthouse/lighthouse index 938e8d8..119c3f5 100644 --- a/commands/lighthouse/lighthouse +++ b/commands/lighthouse/lighthouse @@ -6,6 +6,6 @@ ## Usage: lighthouse ## Example: "ddev lighthouse" ## ExecRaw: true -lighthouse lhci autorun || true -lighthouse sh -c 'tar -cf - *.json *.html' | tar -xvf - -C reports/lighthouse/ +lighthouse --no-enable-error-reporting lhci autorun || true +lighthouse --no-enable-error-reporting sh -c 'tar -cf - *.json *.html' | tar -xvf - -C reports/lighthouse/ ls -l reports/lighthouse/ \ No newline at end of file diff --git a/docker-compose.lighthouse.yaml b/docker-compose.lighthouse.yaml index 3f078a3..4150836 100644 --- a/docker-compose.lighthouse.yaml +++ b/docker-compose.lighthouse.yaml @@ -14,5 +14,5 @@ services: com.ddev.approot: $DDEV_APPROOT volumes: - - ./tests/functional/lighthouse/lighthouserc.js:/home/lhci/reports/lighthouserc.js + - ../tests/functional/lighthouse/lighthouserc.js:/home/lhci/reports/lighthouserc.js - .:/mnt/ddev_config:ro