Skip to content

Commit

Permalink
Push code coverage to Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
JSkimming committed Aug 9, 2020
1 parent 6d84970 commit 17579a8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,21 @@ jobs:
- 3.1.x
name: ${{ matrix.os }} ${{ matrix.dotnet }} ${{ matrix.config }}
steps:

- uses: actions/checkout@v1

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}

- name: Test Coverage
run: ./coverage.sh netcoreapp3.1 ${{ matrix.config }}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./test/TestResults/Test.Coverage.xml
fail_ci_if_error: true
path_to_write_report: ./test/TestResults/Test.Coverage.gz

0 comments on commit 17579a8

Please sign in to comment.