Skip to content

Commit

Permalink
Updating build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
gowon committed Jun 23, 2020
1 parent caefb88 commit 2656921
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@ jobs:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.100
- name: Build with dotnet
dotnet-version: '3.1.x'

- name: Build solution
run: dotnet build --configuration Release

- name: Generate coverage report
run: dotnet test --collect "XPlat Code Coverage" --results-directory "./test-results"
run: dotnet test --collect "XPlat Code Coverage" --results-directory "./test-results" --configuration Release --no-restore --verbosity normal
continue-on-error: true

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down

0 comments on commit 2656921

Please sign in to comment.