From eac13bc40e078893eaa0438adfade7010b221168 Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Mon, 30 Dec 2024 22:50:26 +0100 Subject: [PATCH 1/2] Replace codecov with deepsource --- .github/workflows/tests.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b82a7bbe..1ae91a69 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -170,8 +170,9 @@ jobs: run: | nox --session=coverage -- xml -i - - name: Upload coverage report - uses: codecov/codecov-action@v5 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml + - name: Report test coverage to DeepSource + uses: deepsourcelabs/test-coverage-action@master + with: + key: python + coverage-file: ./coverage.xml + dsn: ${{ secrets.DEEPSOURCE_DSN }} From 5bce889f9d6bfa2e6358e8862fd296dbc8003f38 Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Mon, 30 Dec 2024 22:54:05 +0100 Subject: [PATCH 2/2] Replace .codecov.yml with .deepsource.toml --- .deepsource.toml | 7 +++++++ codecov.yml | 9 --------- 2 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 .deepsource.toml delete mode 100644 codecov.yml diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 00000000..c9e3b509 --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,7 @@ +version = 1 + +[[analyzers]] +name = "python" + + [analyzers.meta] + runtime_version = "3.x.x" diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index 9ac26504..00000000 --- a/codecov.yml +++ /dev/null @@ -1,9 +0,0 @@ -comment: false -coverage: - status: - project: - default: - target: "100" - patch: - default: - target: "100"