Skip to content

Commit

Permalink
👷 Added build to testing job
Browse files Browse the repository at this point in the history
  • Loading branch information
karafra committed Feb 14, 2022
1 parent f525218 commit c24b47a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
with:
path: |
~/.nuget/packages
!~/.nuget/packages/unwanted
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
Expand All @@ -38,8 +37,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore project from cache
- name: Restore projects
run: dotnet restore
- name: Build project
run: dotnet build
- name: Run tests with coverage
run: dotnet test --no-build --collect:"XPlat Code Coverage"
- name: ReportGenerator
Expand Down

0 comments on commit c24b47a

Please sign in to comment.