Skip to content

Commit

Permalink
fix: skip codecov publish report step in ci pipeline (#7454)
Browse files Browse the repository at this point in the history
#### Details

Skip codecoverage step in pipeline as codecov package is deprecated.


#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [ ] 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: `<rootDir>/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 <[email protected]>
  • Loading branch information
v-rakeshsh and v-viyada authored Sep 27, 2024
1 parent 14d8e58 commit 54432b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 }
Expand Down
4 changes: 0 additions & 4 deletions pipeline/build-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 54432b3

Please sign in to comment.