Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
branches: [ main ]
workflow_dispatch:

permissions:
contents: read
pull-requests: write

jobs:

# This runs C tests using the Clar test framework
Expand All @@ -26,8 +30,21 @@ jobs:
uses: test-summary/action@v1
with:
paths: c-clar/results/**/*.xml
output: test-summary.md
if: always()

- name: Upload test summary
uses: actions/upload-artifact@v3
with:
name: test-summary
path: test-summary.md
if: always()
- name: Post failure summary to PR
if: always()
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr comment "${{ github.event.pull_request.number }}" \
--body-file body.md
# This runs .NET tests using the standard .NET test driver
dotnet:
name: .NET
Expand Down