From 2fd319b0ac670c261ca5fd73a91e0c6f5e089c73 Mon Sep 17 00:00:00 2001 From: Claudio Costa Date: Tue, 10 Jun 2025 02:09:55 -0600 Subject: [PATCH] Fix webapp code coverage tracking (#31360) --- .github/workflows/webapp-ci-template.yml | 3 +++ webapp/channels/jest.config.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/webapp-ci-template.yml b/.github/workflows/webapp-ci-template.yml index 174f5afc45..ddf03a5d76 100644 --- a/.github/workflows/webapp-ci-template.yml +++ b/.github/workflows/webapp-ci-template.yml @@ -4,6 +4,9 @@ name: Web App CI Template on: workflow_call: + secrets: + CODECOV_TOKEN: + required: true jobs: check-lint: diff --git a/webapp/channels/jest.config.js b/webapp/channels/jest.config.js index 4bb107b664..6213444593 100644 --- a/webapp/channels/jest.config.js +++ b/webapp/channels/jest.config.js @@ -12,7 +12,7 @@ const config = { ], coveragePathIgnorePatterns: [ '/node_modules/', - 'packages/mattermost-redux/src/selectors/create_selector', + 'mattermost-redux/src/selectors/create_selector', ], coverageReporters: ['lcov', 'text-summary'], fakeTimers: {