浏览代码

Fix pipelin

Lukas Aldershaab 2 年之前
父节点
当前提交
de4d5fa5d7
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      .github/workflows/cmake.yml

+ 6 - 2
.github/workflows/cmake.yml

@@ -59,10 +59,14 @@ jobs:
     - name: Test
     - name: Test
       run: |
       run: |
          cd "${{github.workspace}}/My Projects/Torque3D/game"
          cd "${{github.workspace}}/My Projects/Torque3D/game"
-         ./Torque3D runTests.tscript
+         if [ "$RUNNER_OS" == "macOS" ]; then
+            ./Torque3D.app/Contents/MacOS/Torque3D runTests.tscript
+         else
+            ./Torque3D runTests.tscript
+         fi
 
 
     - name: Publish Test Report
     - name: Publish Test Report
       uses: mikepenz/action-junit-report@v3
       uses: mikepenz/action-junit-report@v3
       if: success() || failure() # always run even if the previous step fails
       if: success() || failure() # always run even if the previous step fails
       with:
       with:
-         report_paths: '${{github.workspace}}/My Projects/Torque3D/game/TEST-*.xml'
+         report_paths: '${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml'