Skip to content

Commit

Permalink
Add permssions, publish test result
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleyadam committed Sep 25, 2024
1 parent 3080b32 commit 495ab4c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
jobs:
test:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout Repo Code
uses: actions/checkout@v4
Expand Down Expand Up @@ -53,4 +55,12 @@ jobs:
path: code-coverage-results.md

- name: Write to Job Summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY


- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
junit/test-results.xml

0 comments on commit 495ab4c

Please sign in to comment.