Skip to content

Commit

Permalink
test(coverage): switch to codecov action from deprecated node binary
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Oct 30, 2022
1 parent f4e6900 commit 5d60088
Show file tree
Hide file tree
Showing 5 changed files with 1,608 additions and 1,892 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 @@ -215,14 +215,9 @@ jobs:
yarn tests:android:test-cover
yarn tests:android:test:jacoco-report
- name: Submit Coverage
# This can fail on timeouts etc, wrap with retry
uses: nick-invision/retry@v2
- uses: codecov/codecov-action@v3
with:
timeout_minutes: 10
retry_wait_seconds: 60
max_attempts: 3
command: ./node_modules/.bin/codecov
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 @@ -193,11 +193,6 @@ jobs:
name: simulator_log
path: simulator.log.gz

- name: Submit Coverage
# This can fail on timeouts etc, wrap with retry
uses: nick-invision/retry@v2
- uses: codecov/codecov-action@v3
with:
timeout_minutes: 10
retry_wait_seconds: 60
max_attempts: 3
command: ./node_modules/.bin/codecov
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 @@ -55,11 +55,6 @@ jobs:
command: yarn --no-audit --prefer-offline
- name: Jest
run: yarn tests:jest-coverage
- name: Submit Coverage
# This can fail on timeouts etc, wrap with retry
uses: nick-invision/retry@v2
- uses: codecov/codecov-action@v3
with:
timeout_minutes: 3
retry_wait_seconds: 60
max_attempts: 3
command: ./node_modules/.bin/codecov
verbose: true
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"@typescript-eslint/parser": "^5.40.1",
"babel-jest": "^29.2.0",
"clang-format": "^1.8.0",
"codecov": "^3.8.3",
"conventional-changelog-cli": "^2.2.2",
"cross-env": "^7.0.3",
"eslint": "^8.25.0",
Expand Down
Loading

0 comments on commit 5d60088

Please sign in to comment.