Skip to content

Commit

Permalink
Modificada integración con deepsource
Browse files Browse the repository at this point in the history
- Análisis activado.
- Agregado análisis y subida de test.
  • Loading branch information
nmarulo committed Oct 20, 2024
1 parent 3ac43fe commit 8a0c5f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ version = 1

[[analyzers]]
name = "java"
enabled = true

[analyzers.meta]
runtime_version = "21"
runtime_version = "21"

[[analyzers]]
name = "test-coverage"
enabled = true
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ jobs:
- name: Test
run: mvn -B test --file pom.xml

- name: Report results to DeepSource
run: |
# Install deepsource CLI
curl https://deepsource.io/cli | sh
# From the root directory, run the report coverage command
./bin/deepsource report --analyzer test-coverage --key java --value-file ./target/site/jacoco/jacoco.xml
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}

0 comments on commit 8a0c5f9

Please sign in to comment.