From b47d7fdb690b927ec57e5364c2dff17576a7feea Mon Sep 17 00:00:00 2001 From: Sagar Rajput Date: Tue, 16 Apr 2024 01:58:18 +0530 Subject: [PATCH] chore: added jest coverage setup - added file directory --- .github/workflows/jest-coverage.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jest-coverage.yml b/.github/workflows/jest-coverage.yml index 52a1b7e30b..c3ee79a068 100644 --- a/.github/workflows/jest-coverage.yml +++ b/.github/workflows/jest-coverage.yml @@ -19,11 +19,11 @@ jobs: run: cd frontend && yarn install - name: Run Jest with Coverage - run: cd frontend | - npm test --silent --coverageReporters text --coverageReporters text-summary --changedSince=origin/$BASE_BRANCH --passWithNoTests --listTests - npm test --silent --coverageReporters text --coverageReporters json-summary --changedSince=origin/$BASE_BRANCH --passWithNoTests --maxWorkers=5 --ci --testResultsProcessor="jest-junit" + run: | + cd frontend && npm test --silent --coverageReporters text --coverageReporters text-summary --changedSince=origin/develop --passWithNoTests --listTests + cd frontend && npm test --silent --coverageReporters text --coverageReporters json-summary --changedSince=origin/develop --passWithNoTests --maxWorkers=5 --ci --testResultsProcessor="jest-junit" - yarn custom-coverage --verbose + cd frontend && yarn custom-coverage --verbose - name: Upload Coverage Results uses: actions/upload-artifact@v2