Skip to content

Bump coverlet.msbuild from 6.0.4 to 8.0.0 (#331) #1037

Bump coverlet.msbuild from 6.0.4 to 8.0.0 (#331)

Bump coverlet.msbuild from 6.0.4 to 8.0.0 (#331) #1037

Workflow file for this run

name: Deep Source
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
DeepSource:
name: Deep Source Coverage report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install DeepSource scanner
run: curl https://deepsource.io/cli | sh
- name: Set up .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.x'
- name: Build and analyze
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
run: |
dotnet build -c Release --verbosity minimal
dotnet test -c Release --verbosity minimal --no-build --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat="cobertura" /p:CoverletOutput='../Results/'
./bin/deepsource report --analyzer test-coverage --key csharp --value-file Tests/Results/coverage.cobertura.xml