From 412d5fb6795ac95ff629cd1553c9a5a1012b5206 Mon Sep 17 00:00:00 2001 From: dshukertjr Date: Fri, 17 Jan 2025 16:42:38 +0900 Subject: [PATCH] chore: Upload coverage results --- .github/workflows/functions_client.yml | 6 ++++++ .github/workflows/gotrue.yml | 6 ++++++ .github/workflows/postgrest.yml | 6 ++++++ .github/workflows/realtime_client.yml | 6 ++++++ .github/workflows/storage_client.yml | 6 ++++++ .github/workflows/supabase.yml | 6 ++++++ .github/workflows/supabase_flutter.yml | 7 +++++-- .github/workflows/yet_another_json_isolate.yml | 6 ++++++ melos.yaml | 3 --- 9 files changed, 47 insertions(+), 5 deletions(-) diff --git a/.github/workflows/functions_client.yml b/.github/workflows/functions_client.yml index ca999942..74ff39b5 100644 --- a/.github/workflows/functions_client.yml +++ b/.github/workflows/functions_client.yml @@ -58,3 +58,9 @@ jobs: - name: Update coverage run: melos run update-coverage + + - name: Upload coverage results to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: ./coverage/lcov.info diff --git a/.github/workflows/gotrue.yml b/.github/workflows/gotrue.yml index 29dbd319..e9c76a1c 100644 --- a/.github/workflows/gotrue.yml +++ b/.github/workflows/gotrue.yml @@ -66,3 +66,9 @@ jobs: - name: Update coverage run: melos run update-coverage + + - name: Upload coverage results to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: ./coverage/lcov.info diff --git a/.github/workflows/postgrest.yml b/.github/workflows/postgrest.yml index 0b8e19b2..fdbaa1ce 100644 --- a/.github/workflows/postgrest.yml +++ b/.github/workflows/postgrest.yml @@ -68,3 +68,9 @@ jobs: - name: Update coverage run: melos run update-coverage + + - name: Upload coverage results to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: ./coverage/lcov.info diff --git a/.github/workflows/realtime_client.yml b/.github/workflows/realtime_client.yml index f2bdbc43..db6b2a94 100644 --- a/.github/workflows/realtime_client.yml +++ b/.github/workflows/realtime_client.yml @@ -55,3 +55,9 @@ jobs: - name: Update coverage run: melos run update-coverage + + - name: Upload coverage results to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: ./coverage/lcov.info diff --git a/.github/workflows/storage_client.yml b/.github/workflows/storage_client.yml index 8b1cb160..faea26d5 100644 --- a/.github/workflows/storage_client.yml +++ b/.github/workflows/storage_client.yml @@ -65,3 +65,9 @@ jobs: - name: Update coverage run: melos run update-coverage + + - name: Upload coverage results to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: ./coverage/lcov.info diff --git a/.github/workflows/supabase.yml b/.github/workflows/supabase.yml index 7bb753e9..5b4cc43c 100644 --- a/.github/workflows/supabase.yml +++ b/.github/workflows/supabase.yml @@ -68,3 +68,9 @@ jobs: dart pub global activate combine_coverage melos run update-coverage dart pub global run combine_coverage --repo-path="../../" + + - name: Upload coverage results to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: ./coverage/lcov.info diff --git a/.github/workflows/supabase_flutter.yml b/.github/workflows/supabase_flutter.yml index 64e7f531..f8274ef4 100644 --- a/.github/workflows/supabase_flutter.yml +++ b/.github/workflows/supabase_flutter.yml @@ -80,5 +80,8 @@ jobs: cd example flutter build web - - name: Update coverage - run: melos run update-coverage + - name: Upload coverage results to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: ./coverage/lcov.info diff --git a/.github/workflows/yet_another_json_isolate.yml b/.github/workflows/yet_another_json_isolate.yml index a0aec32e..46b37062 100644 --- a/.github/workflows/yet_another_json_isolate.yml +++ b/.github/workflows/yet_another_json_isolate.yml @@ -55,3 +55,9 @@ jobs: - name: Update coverage run: melos run update-coverage + + - name: Upload coverage results to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: ./coverage/lcov.info diff --git a/melos.yaml b/melos.yaml index 64514989..44eaec8f 100644 --- a/melos.yaml +++ b/melos.yaml @@ -64,6 +64,3 @@ scripts: # Format coverage dart pub global run coverage:format_coverage --lcov --in="./coverage/test" --out="./coverage/lcov.info" --report-on="./lib" - - # Combine coverage - dart pub global run combine_coverage --repo-path="../../"