Update version.props #354
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |