Skip to content

Commit

Permalink
Merge pull request #750 from dorssel/publish_test_results
Browse files Browse the repository at this point in the history
Publish test results
  • Loading branch information
dorssel committed Nov 6, 2023
2 parents 141b482 + dbaa4cb commit 98706c7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
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
15 changes: 13 additions & 2 deletions .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ on:
pull_request:
branches: [master]

permissions: read-all
permissions:
contents: read
issues: read
checks: write
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -41,7 +45,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/composite@v2
if: always()
with:
files: |
**/TestResults/*.trx
- name: Codecov
uses: codecov/codecov-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

# Upload MegaLinter artifacts
- name: Archive production artifacts
if: ${{ success() }} || ${{ failure() }}
if: always()
uses: actions/upload-artifact@v3
with:
name: MegaLinter reports
Expand Down

0 comments on commit 98706c7

Please sign in to comment.