Skip to content

Commit

Permalink
test(ci): use codecov action vs bash uploader
Browse files Browse the repository at this point in the history
the bash uploader was deprecated long ago and most likely no longer
works, the action is the documented current way to upload coverage
  • Loading branch information
mikehardy committed Apr 9, 2024
1 parent 02713d4 commit 67285f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/tests_e2e_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,9 @@ jobs:
echo "tests passed"
fi
- name: Submit Coverage
# This can fail on timeouts etc, wrap with retry
uses: nick-fields/retry@v3
- uses: codecov/codecov-action@v3
with:
timeout_minutes: 10
retry_wait_seconds: 60
max_attempts: 3
command: curl https://codecov.io/bash -o codecov.sh && bash ./codecov.sh
verbose: true

- name: Compress Emulator Log
if: always()
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/tests_e2e_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,6 @@ jobs:
name: packager_log
path: packager.log

- name: Submit Coverage
# This can fail on timeouts etc, wrap with retry
uses: nick-fields/retry@v3
- uses: codecov/codecov-action@v3
with:
timeout_minutes: 10
retry_wait_seconds: 60
max_attempts: 3
command: curl https://codecov.io/bash -o codecov.sh && bash ./codecov.sh
verbose: true
9 changes: 2 additions & 7 deletions .github/workflows/tests_jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ jobs:
command: yarn --no-audit --prefer-offline
- name: Jest
run: yarn tests_rn:test
- name: Submit Coverage
# This can fail on timeouts etc, wrap with retry
uses: nick-fields/retry@v3
- uses: codecov/codecov-action@v3
with:
timeout_minutes: 3
retry_wait_seconds: 60
max_attempts: 3
command: curl https://codecov.io/bash -o codecov.sh && bash ./codecov.sh
verbose: true

0 comments on commit 67285f4

Please sign in to comment.