Skip to content

Bump Microsoft.Extensions.Http.Polly from 7.0.5 to 7.0.10 in /Test #938

Bump Microsoft.Extensions.Http.Polly from 7.0.5 to 7.0.10 in /Test

Bump Microsoft.Extensions.Http.Polly from 7.0.5 to 7.0.10 in /Test #938

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Test Report
run: dotnet test $SolutionFile --no-build $CollectCoverage
- name: Test Coverage Badge
uses: simon-k/dotnet-code-coverage-badge@v1.0.0
id: create_coverage_badge
with:
label: coverage
color: brightgreen
path: CodeCoverage/coverage.opencover.xml
gist-filename: code-coverage.json
gist-id: 294599cbadb71f3ed834d6904a7c87fd
gist-auth-token: ${{ secrets.GIST_AUTH_TOKEN }}
- name: Print code coverage
run: echo "Code coverage percentage ${{steps.create_coverage_badge.outputs.percentage}}%"
- name: Print badge data
run: echo "Badge data ${{steps.test_step.outputs.badge}}"
env:
CollectCoverage: true
CoverletOutput: ../CodeCoverage/
CoverletOutputFormat: opencover
SolutionFile: NgWebApp.sln