Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/unity-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
projectPath: ${{ inputs.project_path }}
unityVersion: ${{ inputs.unity_version }}
testMode: EditMode
artifactsPath: artifacts/EditMode
githubToken: ${{ secrets.GITHUB_TOKEN }}
checkName: EditMode Test Results

Expand All @@ -76,6 +77,7 @@ jobs:
projectPath: ${{ inputs.project_path }}
unityVersion: ${{ inputs.unity_version }}
testMode: PlayMode
artifactsPath: artifacts/PlayMode
githubToken: ${{ secrets.GITHUB_TOKEN }}
checkName: PlayMode Test Results

Expand All @@ -85,15 +87,17 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: EditMode-results-${{ inputs.unity_version }}
path: ${{ inputs.project_path }}/artifacts/EditMode
path: artifacts/EditMode
if-no-files-found: warn
retention-days: 14

- name: Upload PlayMode test results
if: always() && (inputs.test_mode == 'All' || inputs.test_mode == 'PlayMode')
uses: actions/upload-artifact@v4
with:
name: PlayMode-results-${{ inputs.unity_version }}
path: ${{ inputs.project_path }}/artifacts/PlayMode
path: artifacts/PlayMode
if-no-files-found: warn
retention-days: 14

# Generate test summary
Expand Down