Skip to content

Fixing and improving the code quality in the guides. #352

Fixing and improving the code quality in the guides.

Fixing and improving the code quality in the guides. #352

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build, Test, Report
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x.x'
- name: Install dependencies
run: dotnet restore RabbitMQ.Dataflows.sln
- name: Build
run: dotnet build RabbitMQ.Dataflows.sln --configuration Release --no-restore
- name: Test
run: dotnet test "./tests/UnitTests/UnitTests.csproj" --configuration Release --no-build --verbosity normal
/p:CollectCoverage=true
/p:CoverletOutput='../../coverage.cobertura.xml'
/p:CoverletOutputFormat=cobertura
- name: Upload Coverage Report
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: 'coverage.cobertura.xml'