generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from amosproj/develop
sprint-release-7
- Loading branch information
Showing
59 changed files
with
3,037 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,27 +21,28 @@ jobs: | |
with: | ||
dotnet-version: 6.0.x | ||
|
||
- name: List files | ||
run: ls -las | ||
- name: Install pycorbura | ||
run: pip install pycobertura | ||
|
||
- name: Remove untestable files | ||
run: | | ||
rm -rf ../Deskstar/Migrations \ | ||
&& rm -rf ../Deskstar/Controllers | ||
- name: Restore dependencies | ||
run: dotnet restore && dotnet restore | ||
run: dotnet restore | ||
|
||
- name: Build | ||
run: dotnet build --no-restore | ||
|
||
- name: Test | ||
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" --logger trx --results-directory coverage | ||
|
||
- name: Copy Coverage to Predictable Location | ||
run: cp coverage/*/coverage.cobertura.xml coverage/coverage.cobertura.xml | ||
|
||
- name: Code Coverage Summary Report | ||
uses: irongut/[email protected] | ||
with: | ||
filename: ./src/deskstar-backend/Teststar.Tests/coverage/coverage.cobertura.xml | ||
badge: true | ||
format: 'markdown' | ||
output: 'both' | ||
- name: Run pycobertura on coverage.corbertura.xml | ||
run: pycobertura show coverage/coverage.cobertura.xml | ||
|
||
- name: Upload coverage output to artifacts | ||
uses: actions/upload-artifact@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.