Skip to content

Commit 5d60088

Browse files
committed
test(coverage): switch to codecov action from deprecated node binary
1 parent f4e6900 commit 5d60088

File tree

5 files changed

+1608
-1892
lines changed

5 files changed

+1608
-1892
lines changed

.github/workflows/tests_e2e_android.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,9 @@ jobs:
215215
yarn tests:android:test-cover
216216
yarn tests:android:test:jacoco-report
217217
218-
- name: Submit Coverage
219-
# This can fail on timeouts etc, wrap with retry
220-
uses: nick-invision/retry@v2
218+
- uses: codecov/codecov-action@v3
221219
with:
222-
timeout_minutes: 10
223-
retry_wait_seconds: 60
224-
max_attempts: 3
225-
command: ./node_modules/.bin/codecov
220+
verbose: true
226221

227222
- name: Compress Emulator Log
228223
if: always()

.github/workflows/tests_e2e_ios.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,6 @@ jobs:
193193
name: simulator_log
194194
path: simulator.log.gz
195195

196-
- name: Submit Coverage
197-
# This can fail on timeouts etc, wrap with retry
198-
uses: nick-invision/retry@v2
196+
- uses: codecov/codecov-action@v3
199197
with:
200-
timeout_minutes: 10
201-
retry_wait_seconds: 60
202-
max_attempts: 3
203-
command: ./node_modules/.bin/codecov
198+
verbose: true

.github/workflows/tests_jest.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ jobs:
5555
command: yarn --no-audit --prefer-offline
5656
- name: Jest
5757
run: yarn tests:jest-coverage
58-
- name: Submit Coverage
59-
# This can fail on timeouts etc, wrap with retry
60-
uses: nick-invision/retry@v2
58+
- uses: codecov/codecov-action@v3
6159
with:
62-
timeout_minutes: 3
63-
retry_wait_seconds: 60
64-
max_attempts: 3
65-
command: ./node_modules/.bin/codecov
60+
verbose: true

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"@typescript-eslint/parser": "^5.40.1",
6161
"babel-jest": "^29.2.0",
6262
"clang-format": "^1.8.0",
63-
"codecov": "^3.8.3",
6463
"conventional-changelog-cli": "^2.2.2",
6564
"cross-env": "^7.0.3",
6665
"eslint": "^8.25.0",

0 commit comments

Comments
 (0)