Skip to content

Commit

Permalink
Update deep-source.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Aug 13, 2023
1 parent f54d20d commit 38adbd7
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/deep-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/upload-artifact@v3.1.2
with:
name: coverage
path: Tests\GuiStracini.Mandae.Tests\bin\Release
path: Tests\GuiStracini.Mandae.Tests\bin\Release\coverage.cobertura.xml

deep-source:
name: Deep Source Coverage report
Expand All @@ -61,6 +61,10 @@ jobs:

steps:

- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Download artifact test coverage
uses: actions/download-artifact@v3
with:
Expand All @@ -69,13 +73,7 @@ jobs:
- name: Install DeepSource scanner
run: curl https://deepsource.io/cli | sh

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'

- name: Build and analyze
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
run: |
./bin/deepsource report --analyzer test-coverage --key csharp --value-file coverage.cobertura.xml
run: ./bin/deepsource report --analyzer test-coverage --key csharp --value-file coverage.cobertura.xml

0 comments on commit 38adbd7

Please sign in to comment.