Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: skip codecov publish report step in ci pipeline #7454

Merged
merged 9 commits into from
Sep 27, 2024
Merged
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
Loading