Skip to content

Commit

Permalink
Update codecov uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
mayorova committed Oct 15, 2024
1 parent f2eeeca commit 5ee2737
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
version: 2.1
orbs:
codecov: codecov/codecov@3.3.0

##################################### YAML ANCHORS ############################################

upload-coverage: &upload-coverage
run:
name: Upload test coverage to Codecov
command: bash <(curl --retry 10 --retry-delay 5 --retry-max-time 60 -s https://codecov.io/bash) -Z || echo "Codecov is not working again..."

persist-vendored-dependencies-to-workspace: &persist-vendored-dependencies-to-workspace
persist_to_workspace:
root: .
Expand Down Expand Up @@ -357,7 +354,7 @@ commands: # reusable commands with parameters
- *store-junit-test-results
- *store-test-artifacts
- *store-log-artifacts
- *upload-coverage
- codecov/upload

##################################### CIRCLECI EXECUTORS ############################################

Expand Down Expand Up @@ -569,7 +566,7 @@ jobs:
- run:
name: Jest specs
command: yarn jest --maxWorkers=3
- *upload-coverage
- codecov/upload
- notify_failure

unit:
Expand Down

0 comments on commit 5ee2737

Please sign in to comment.