mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
remove upload
-Removed: Upload artifact -Simplified the test reporter steps GIT CI seems to have major issues with the upload/download steps at the moment, so remove these and just report the test results
This commit is contained in:
parent
f3a7263503
commit
afaf228d05
20
.github/actions/upload-artifact/action.yml
vendored
20
.github/actions/upload-artifact/action.yml
vendored
|
|
@ -1,20 +0,0 @@
|
|||
name: Upload Torque Test Report
|
||||
description: Upload Torques unit test artifact.
|
||||
inputs:
|
||||
name:
|
||||
description: The name of the unit test.
|
||||
default: "${{github.job}}"
|
||||
path:
|
||||
description: The path to the upload.
|
||||
required: true
|
||||
default: "Torque3D/My Projects/Torque3D/game/test_detail.xml"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Upload Torque Test Report
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{inputs.name}}
|
||||
path: ${{inputs.path}}
|
||||
retention-days: 1
|
||||
overwrite: true
|
||||
9
.github/workflows/build-linux-gcc.yml
vendored
9
.github/workflows/build-linux-gcc.yml
vendored
|
|
@ -84,8 +84,9 @@ jobs:
|
|||
cd "${{github.workspace}}/My Projects/Torque3D/game"
|
||||
./Torque3D runTests.tscript
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: ./.github/actions/upload-artifact
|
||||
- name: Test Reporter
|
||||
uses: phoenix-actions/test-reporting@v14
|
||||
with:
|
||||
name: torque3dLinuxGCCUnitTest
|
||||
path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml"
|
||||
name: ${{matrix.config.name}}
|
||||
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
||||
reporter: java-junit
|
||||
|
|
|
|||
9
.github/workflows/build-macos-clang.yml
vendored
9
.github/workflows/build-macos-clang.yml
vendored
|
|
@ -65,8 +65,9 @@ jobs:
|
|||
cd "${{github.workspace}}/My Projects/Torque3D/game"
|
||||
./Torque3D.app/Contents/MacOS/Torque3D runTests.tscript
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: ./.github/actions/upload-artifact
|
||||
- name: Test Reporter
|
||||
uses: phoenix-actions/test-reporting@v14
|
||||
with:
|
||||
name: torque3dMacOSXCLANGUnitTest
|
||||
path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml"
|
||||
name: ${{matrix.config.name}}
|
||||
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
||||
reporter: java-junit
|
||||
|
|
|
|||
9
.github/workflows/build-windows-msvc.yml
vendored
9
.github/workflows/build-windows-msvc.yml
vendored
|
|
@ -61,8 +61,9 @@ jobs:
|
|||
cd "${{github.workspace}}/My Projects/Torque3D/game"
|
||||
./Torque3D.exe runTests.tscript
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: ./.github/actions/upload-artifact
|
||||
- name: Test Reporter
|
||||
uses: phoenix-actions/test-reporting@v14
|
||||
with:
|
||||
name: torque3dWindowsMSVCUnitTest
|
||||
path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml"
|
||||
name: ${{matrix.config.name}}
|
||||
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
||||
reporter: java-junit
|
||||
|
|
|
|||
39
.github/workflows/test-results-linux.yml
vendored
39
.github/workflows/test-results-linux.yml
vendored
|
|
@ -1,39 +0,0 @@
|
|||
name: Linux Test Results
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Linux Build"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
permissions:
|
||||
checks: write
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
name: ${{matrix.config.name}}
|
||||
runs-on: ${{matrix.config.runos}}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- {
|
||||
name: "Linux Test Results",
|
||||
runos: ubuntu-latest,
|
||||
artifact-name: "torque3dLinuxGCCUnitTest"
|
||||
}
|
||||
|
||||
steps:
|
||||
- name: Download Linux Test Report
|
||||
uses: dawidd6/action-download-artifact@v3
|
||||
with:
|
||||
path: Linux
|
||||
name: ${{matrix.config.artifact-name}}
|
||||
workflow: ${{ github.event.workflow.id }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
|
||||
- name: Test Reporter
|
||||
uses: phoenix-actions/test-reporting@v14
|
||||
with:
|
||||
name: ${{matrix.config.name}}
|
||||
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
||||
reporter: java-junit
|
||||
39
.github/workflows/test-results-mac.yml
vendored
39
.github/workflows/test-results-mac.yml
vendored
|
|
@ -1,39 +0,0 @@
|
|||
name: Mac Test Results
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["MacOSX Build"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
permissions:
|
||||
checks: write
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
name: ${{matrix.config.name}}
|
||||
runs-on: ${{matrix.config.runos}}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- {
|
||||
name: "Mac Test Results",
|
||||
runos: macos-13,
|
||||
artifact-name: "torque3dMacOSXCLANGUnitTest"
|
||||
}
|
||||
|
||||
steps:
|
||||
- name: Download Mac Test Report
|
||||
uses: dawidd6/action-download-artifact@v3
|
||||
with:
|
||||
path: macOS
|
||||
name: ${{matrix.config.artifact-name}}
|
||||
workflow: ${{ github.event.workflow.id }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
|
||||
- name: Test Reporter
|
||||
uses: phoenix-actions/test-reporting@v14
|
||||
with:
|
||||
name: ${{matrix.config.name}}
|
||||
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
||||
reporter: java-junit
|
||||
39
.github/workflows/test-results-windows.yml
vendored
39
.github/workflows/test-results-windows.yml
vendored
|
|
@ -1,39 +0,0 @@
|
|||
name: Windows Test Results
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Windows Build"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
permissions:
|
||||
checks: write
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
name: ${{matrix.config.name}}
|
||||
runs-on: ${{matrix.config.runos}}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- {
|
||||
name: "Windows Test Results",
|
||||
runos: windows-latest,
|
||||
artifact-name: "torque3dWindowsMSVCUnitTest"
|
||||
}
|
||||
|
||||
steps:
|
||||
- name: Download Windows Test Report
|
||||
uses: dawidd6/action-download-artifact@v3
|
||||
with:
|
||||
path: Windows
|
||||
name: ${{matrix.config.artifact-name}}
|
||||
workflow: ${{ github.event.workflow.id }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
|
||||
- name: Test Reporter
|
||||
uses: phoenix-actions/test-reporting@v14
|
||||
with:
|
||||
name: ${{matrix.config.name}}
|
||||
path: "**/My Projects/Torque3D/game/test_detail.xml"
|
||||
reporter: java-junit
|
||||
Loading…
Reference in a new issue