Skip to content

Commit

Permalink
Publish test results
Browse files Browse the repository at this point in the history
  • Loading branch information
dorssel committed Nov 6, 2023
1 parent 141b482 commit dab2965
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/linters/.yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# SPDX-License-Identifier: GPL-3.0-only

---
# yaml-language-server: $schema=https://json.schemastore.org/yamllint.json

extends: default

rules:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ jobs:
run: dotnet build --configuration Release --no-restore

- name: Test
run: dotnet test --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage"
run: dotnet test --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --logger trx

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
**/TestResults/*.trx
- name: Codecov
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit dab2965

Please sign in to comment.