2
0
Эх сурвалжийг харах

ugh

add permissions required for test reporter

no longer fail on error of creating a test report
marauder2k7 1 жил өмнө
parent
commit
8e89765a79

+ 10 - 1
.github/workflows/build-linux-gcc.yml

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

+ 10 - 1
.github/workflows/build-macos-clang.yml

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

+ 10 - 1
.github/workflows/build-windows-msvc.yml

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