diff --git a/.deepsource.toml b/.deepsource.toml index fdd637f..e388c74 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -2,6 +2,7 @@ version = 1 [[analyzers]] name = "go" +enabled = true [analyzers.meta] - import_root = "github.com/arttet/Interview-Preparation-Kit-in-Go" \ No newline at end of file + import_root = "github.com/arttet/Interview-Preparation-Kit-in-Go" diff --git a/.github/workflows/github-ci.yml b/.github/workflows/github-ci.yml index 940ea6b..fcf3b9d 100644 --- a/.github/workflows/github-ci.yml +++ b/.github/workflows/github-ci.yml @@ -116,13 +116,13 @@ jobs: uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} - files: ./report.xml + files: report.xml - name: Upload the code coverage report to Codecov uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} - files: ./coverage.out + files: coverage.out flags: unittests name: codecov-umbrella @@ -142,6 +142,13 @@ jobs: coverageLocations: | ${{github.workspace}}/*.lcov:lcov + - name: Upload the code coverage report to DeepSource + uses: deepsourcelabs/test-coverage-action@master + with: + key: go + coverage-file: coverage.out + dsn: ${{ secrets.DEEPSOURCE_DSN }} + - name: Upload the code coverage report to GitHub uses: actions/upload-artifact@v4 with: