add permissions required for test reporter

no longer fail on error of creating a test report
This commit is contained in:
marauder2k7 2024-05-14 03:12:46 +01:00
parent cbf7b3a479
commit 8e89765a79
3 changed files with 30 additions and 3 deletions

View file

@ -12,6 +12,14 @@ env:
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-linux
cancel-in-progress: true
permissions:
statuses: write
checks: write
contents: write
pull-requests: write
actions: write
jobs:
build-linux:
if: github.repository == 'TorqueGameEngines/Torque3D'
@ -88,5 +96,6 @@ jobs:
uses: phoenix-actions/test-reporting@v14
with:
name: Linux test results
path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml"
path: "**/My Projects/Torque3D/game/test_detail.xml"
reporter: java-junit
fail-on-error: false

View file

@ -12,6 +12,14 @@ env:
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-macosx
cancel-in-progress: true
permissions:
statuses: write
checks: write
contents: write
pull-requests: write
actions: write
jobs:
build-linux:
if: github.repository == 'TorqueGameEngines/Torque3D'
@ -69,5 +77,6 @@ jobs:
uses: phoenix-actions/test-reporting@v14
with:
name: MacOS Test results
path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml"
path: "**/My Projects/Torque3D/game/test_detail.xml"
reporter: java-junit
fail-on-error: false

View file

@ -7,6 +7,14 @@ on:
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-windows
cancel-in-progress: true
permissions:
statuses: write
checks: write
contents: write
pull-requests: write
actions: write
jobs:
build-windows:
if: github.repository == 'TorqueGameEngines/Torque3D'
@ -65,5 +73,6 @@ jobs:
uses: phoenix-actions/test-reporting@v14
with:
name: Windows test results
path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml"
path: "**/My Projects/Torque3D/game/test_detail.xml"
reporter: java-junit
fail-on-error: false