Skip to content

Commit

Permalink
trying codecov ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
slorello89 committed Aug 17, 2020
1 parent 6672d41 commit 28597e7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- run: echo "workspace = $Env:GITHUB_WORKSPACE"
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
Expand All @@ -29,5 +28,4 @@ jobs:
run: |
dotnet test --no-restore
OpenCover.Console.exe -register:users -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test $Env:GITHUB_WORKSPACE\vonage.sln -f netcoreapp3.0" -output:".\Vonage-Dotnet-coverage.xml"
codecov -f "Vonage-Dotnet-coverage.xml"
# - uses: codecov/codecov-action@v1
codecov -f "Vonage-Dotnet-coverage.xml"
22 changes: 22 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
codecov:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "70...100"

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: no
ignore:
- "nexmo-dotnet/Vonage/Request/TimeSpanSemaphore.cs"

0 comments on commit 28597e7

Please # to comment.