From 54432b313d84db8d92b1606033ef09bedf7a6c00 Mon Sep 17 00:00:00 2001 From: v-rakeshsh <155614445+v-rakeshsh@users.noreply.github.com> Date: Sat, 28 Sep 2024 00:15:08 +0530 Subject: [PATCH] fix: skip codecov publish report step in ci pipeline (#7454) #### Details Skip codecoverage step in pipeline as codecov package is deprecated. #### Pull request checklist - [ ] Addresses an existing issue: #0000 - [x] Ran `yarn fastpass` - [ ] Added/updated relevant unit test(s) (and ran `yarn test`) - [ ] Verified code coverage for the changes made. Check coverage report at: `/test-results/unit/coverage` - [ ] PR title *AND* final merge commit title both start with a semantic tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See `CONTRIBUTING.md`. - [ ] (UI changes only) Added screenshots/GIFs to description above - [ ] (UI changes only) Verified usability with NVDA/JAWS --------- Co-authored-by: Vikash Yadav --- .github/workflows/ci.yml | 28 ---------------------------- pipeline/build-shared.yaml | 4 ---- 2 files changed, 32 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc9256a09a9..3306fed18bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,34 +79,6 @@ jobs: test-results/unit/coverage/cobertura-coverage.xml timeout-minutes: 5 - publish-code-coverage: - needs: unit-tests # This waits for *all* of the unit-tests jobs - runs-on: ubuntu-20.04 - steps: - # This only needs to be present so codecov can use the source tree for some post-processing - # This job doesn't require that we install dependencies - - uses: actions/checkout@v4.1.7 - timeout-minutes: 2 - - - uses: actions/setup-node@v4 - with: { node-version: "${{ env.NODE_VERSION }}" } - timeout-minutes: 2 - - - uses: actions/download-artifact@v4 - with: - name: unit-tests-1-results - path: unit-tests-1-results - timeout-minutes: 2 - - - uses: actions/download-artifact@v4 - with: - name: unit-tests-2-results - path: unit-tests-2-results - timeout-minutes: 2 - - - run: npx codecov - timeout-minutes: 3 - lints: runs-on: ubuntu-20.04 env: { PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 } diff --git a/pipeline/build-shared.yaml b/pipeline/build-shared.yaml index 3d2a884fdc7..9c03734f54f 100644 --- a/pipeline/build-shared.yaml +++ b/pipeline/build-shared.yaml @@ -90,10 +90,6 @@ extends: displayName: publish code coverage timeoutInMinutes: 5 - - script: yarn publish-code-coverage -t $(CODECOV_TOKEN) - displayName: Publish code coverage to codecov - timeoutInMinutes: 3 - - job: 'publish_build_drops' templateContext: outputs: