Skip to content

Commit

Permalink
Add comment for each platform
Browse files Browse the repository at this point in the history
  • Loading branch information
alexaka1 committed Aug 23, 2024
1 parent 510c963 commit b947c6a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ jobs:
# todo: remove after tests
report:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
permissions:
contents: read
actions: read
Expand All @@ -99,7 +105,7 @@ jobs:
- name: Download Coverage Report Artifacts
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: dotnet-coverage-on-*
name: dotnet-coverage-on-${{ matrix.os }}
path: coverage
merge-multiple: true
- name: Code Coverage Report
Expand All @@ -109,9 +115,13 @@ jobs:
badge: true
format: markdown
output: both
- name: Add platform info
run: |
echo "Platform: ${{ matrix.os }}" >> code-coverage-results.md
- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md
header: ${{ matrix.os }}

0 comments on commit b947c6a

Please sign in to comment.