Skip to content

chore(deps): update opentelemetry-dotnet-contrib monorepo #383

chore(deps): update opentelemetry-dotnet-contrib monorepo

chore(deps): update opentelemetry-dotnet-contrib monorepo #383

Workflow file for this run

name: Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Install dotnet tools
run: |
dotnet tool install -g dotnet-reportgenerator-globaltool
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.SkipAutoProps=true
- name: Collect coverage results
if: github.actor != 'dependabot[bot]'
run: |
reportgenerator -reports:'./coverage/**/coverage.cobertura.xml' -targetdir:'./coverage' -reporttypes:'Cobertura'
- name: Run Codacy Reporter
if: github.actor != 'dependabot[bot]'
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ./coverage/Cobertura.xml