From 84b6f3e23607191044c323fbdb37f3dbe14a4402 Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Mon, 15 May 2023 15:54:45 +0530 Subject: [PATCH 1/2] Update CI.yml --- .github/workflows/CI.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c71720bf9..bc3445120 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -34,4 +34,6 @@ jobs: run: | curl https://deepsource.io/cli | sh ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml - ./bin/deepsource report --analyzer test-coverage --key javascript --value-file ./coverage.xml + ./bin/deepsource report --analyzer test-coverage --key kotlin --value-file ./coverage.xml + ./bin/deepsource report --analyzer test-coverage --key swift --value-file ./coverage.xml + ./bin/deepsource report --analyzer test-coverage --key dart --value-file ./coverage.xml From 1958c2702d61dc3e0e31c6766b72cdb700b3e0ab Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Mon, 15 May 2023 15:57:58 +0530 Subject: [PATCH 2/2] Update CI.yml --- .github/workflows/CI.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index bc3445120..74f2caf02 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -33,6 +33,8 @@ jobs: - name: Report test coverage to DeepSource run: | curl https://deepsource.io/cli | sh + # Send the report to DeepSource + git config --global --add safe.directory $PWD ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml ./bin/deepsource report --analyzer test-coverage --key kotlin --value-file ./coverage.xml ./bin/deepsource report --analyzer test-coverage --key swift --value-file ./coverage.xml