From 51203066ca3d8978da6b5e0878f84ca5ed639564 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Sat, 23 Dec 2023 17:38:10 +0000 Subject: [PATCH] Update .codecov.yml (#832) --- .codecov.yml | 2 +- admin-js/tests/setupTests.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 5784651d..9454b0e7 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,3 +1,3 @@ codecov: notify: - after_n_builds: 3 + after_n_builds: 6 diff --git a/admin-js/tests/setupTests.js b/admin-js/tests/setupTests.js index 6c7f2366..c85f9cf3 100644 --- a/admin-js/tests/setupTests.js +++ b/admin-js/tests/setupTests.js @@ -39,7 +39,7 @@ beforeAll(async() => { return; if (global.__coverage__) - pythonProcess = spawn("coverage", ["run", global.pythonProcessPath], {"cwd": ".."}); + pythonProcess = spawn("coverage", ["run", "--source=examples/", global.pythonProcessPath], {"cwd": ".."}); else pythonProcess = spawn("python3", ["-u", global.pythonProcessPath], {"cwd": ".."});