From 67285f4cdc9b50e5dd77ae9d70f15ca464089706 Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Mon, 8 Apr 2024 22:19:46 -0500 Subject: [PATCH] test(ci): use codecov action vs bash uploader the bash uploader was deprecated long ago and most likely no longer works, the action is the documented current way to upload coverage --- .github/workflows/tests_e2e_android.yml | 9 ++------- .github/workflows/tests_e2e_ios.yml | 9 ++------- .github/workflows/tests_jest.yml | 9 ++------- 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/.github/workflows/tests_e2e_android.yml b/.github/workflows/tests_e2e_android.yml index 1722854dc..e817add80 100644 --- a/.github/workflows/tests_e2e_android.yml +++ b/.github/workflows/tests_e2e_android.yml @@ -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() diff --git a/.github/workflows/tests_e2e_ios.yml b/.github/workflows/tests_e2e_ios.yml index bfab13262..c0a941fdb 100644 --- a/.github/workflows/tests_e2e_ios.yml +++ b/.github/workflows/tests_e2e_ios.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/tests_jest.yml b/.github/workflows/tests_jest.yml index f805aadbe..896cacdcf 100644 --- a/.github/workflows/tests_jest.yml +++ b/.github/workflows/tests_jest.yml @@ -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 \ No newline at end of file