Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
b10438d
unity-cli@v1.8.2
StephenHodgson Dec 20, 2025
ed17047
bump
StephenHodgson Dec 20, 2025
80515c3
integrate tests
StephenHodgson Dec 20, 2025
f38b099
default permissions
StephenHodgson Dec 20, 2025
ca76f67
update test logic
StephenHodgson Dec 20, 2025
b531116
update artifact names
StephenHodgson Dec 20, 2025
0d99a0c
test dev job builder
StephenHodgson Dec 22, 2025
7d0df3d
fix permissions
StephenHodgson Dec 22, 2025
2ce7a94
misc
StephenHodgson Dec 22, 2025
28d2f8e
don't write summary if no telemetry output
StephenHodgson Dec 22, 2025
fe5423a
add additional utp types for logging [skip ci]
StephenHodgson Dec 28, 2025
545be7a
rework tests
StephenHodgson Dec 28, 2025
5b67358
tweaks
StephenHodgson Dec 28, 2025
c7bbdd1
fixes to workflow
StephenHodgson Dec 28, 2025
4a6cacc
fix openupm installs
StephenHodgson Dec 28, 2025
32278ac
update matrix build artifact names
StephenHodgson Jan 4, 2026
15bce31
don't clean between runs
StephenHodgson Jan 5, 2026
937832a
cleanup artifacts between tests
StephenHodgson Jan 5, 2026
1c53207
upgate utp tests
StephenHodgson Jan 10, 2026
a9f7246
update run utp tests
StephenHodgson Jan 11, 2026
c48ad26
relax expected message success check
StephenHodgson Jan 11, 2026
cf870e6
update utp tests
StephenHodgson Jan 11, 2026
5e644f2
update utp tests
StephenHodgson Jan 11, 2026
78cd83d
update edit mode test error
StephenHodgson Jan 11, 2026
e4a60c6
update tests
StephenHodgson Jan 11, 2026
556902e
add editor assembly for editor tests
StephenHodgson Jan 12, 2026
f7bfda9
remove cp warning for gnu clobber
StephenHodgson Jan 12, 2026
9410cc8
fix test
StephenHodgson Jan 12, 2026
ede76ee
fix macos tests
StephenHodgson Jan 12, 2026
0f3a2c5
refactor tets
StephenHodgson Jan 12, 2026
6a33538
update utp tests
StephenHodgson Jan 25, 2026
f638dde
remove dup step
StephenHodgson Jan 25, 2026
f8d637c
Bump tar from 7.5.2 to 7.5.3 in the npm_and_yarn group across 1 direc…
dependabot[bot] Jan 25, 2026
18a04cf
remove some build versions to speed up testing
StephenHodgson Jan 25, 2026
ce4aa2e
fix artifact names
StephenHodgson Jan 25, 2026
c56991b
fix log uploads
StephenHodgson Jan 25, 2026
1ece76b
add SECURITY.md
StephenHodgson Feb 8, 2026
d690ad7
Merge branch 'main' into dev/utp-logging
StephenHodgson Feb 22, 2026
163b139
bump version to 1.9.0
StephenHodgson Feb 22, 2026
f54411f
fix asmdef formatting
StephenHodgson Feb 22, 2026
e310447
Bump tar from 7.5.2 to 7.5.9 in the npm_and_yarn group across 1 direc…
dependabot[bot] Feb 22, 2026
9570af3
silly unity, they didn't update hub prod endpoint to latest hub version
StephenHodgson Feb 22, 2026
c2c3acb
Revert "silly unity, they didn't update hub prod endpoint to latest h…
StephenHodgson Feb 22, 2026
c31cfaf
Change output summary format
StephenHodgson Feb 22, 2026
b220e44
update summary output format
StephenHodgson Feb 22, 2026
efa5562
fix failing ci/cd checks
StephenHodgson Feb 22, 2026
f27ccf2
update github actions summary layout
StephenHodgson Feb 27, 2026
75ab052
update summary log format
StephenHodgson Feb 27, 2026
19f46b4
fix build errors
StephenHodgson Feb 27, 2026
f2c2482
bump deps
StephenHodgson Feb 27, 2026
4eaafc6
Bump tar from 7.5.2 to 7.5.8 in the npm_and_yarn group across 1 direc…
dependabot[bot] Feb 27, 2026
38b655a
fix some regressions. add unit test tables
StephenHodgson Feb 27, 2026
dfc3e1d
add additional unit tests to see table format
StephenHodgson Feb 27, 2026
d08413a
give me all the logs
StephenHodgson Feb 28, 2026
479ddd4
Bump the npm_and_yarn group across 1 directory with 2 updates (#71)
dependabot[bot] Feb 28, 2026
3bd4dab
move utp.ts back into root src/
StephenHodgson Feb 28, 2026
b7021b0
bump deps
StephenHodgson Feb 28, 2026
c470a2d
fix import
StephenHodgson Feb 28, 2026
ff04dcd
bump for new build
StephenHodgson Apr 18, 2026
63b45e6
UTP log merge dedupe, Windows path checks, Android/artifact CI, and U…
StephenHodgson Apr 18, 2026
0706882
bump deps
StephenHodgson Apr 18, 2026
c082ce9
fix escape
StephenHodgson Apr 18, 2026
12f420d
more tests
StephenHodgson Apr 19, 2026
583b228
update build matrix
StephenHodgson Apr 19, 2026
9b537b3
add a artifact scan step to validate the utp message parsing outputs
StephenHodgson Apr 19, 2026
70279c6
split out logger provider
StephenHodgson Apr 20, 2026
d3e8c45
reformat the summaries
StephenHodgson Apr 20, 2026
0f641ea
I want my tables back
StephenHodgson Apr 20, 2026
0ef8efc
expand logging in summary
StephenHodgson Apr 20, 2026
8471cde
normalize annotations
StephenHodgson Apr 22, 2026
43b4f08
fix hidden CI/CD failures
StephenHodgson Apr 22, 2026
c9bad08
Merge branch 'main' into dev/utp-logging
StephenHodgson Apr 24, 2026
2204cd3
package-lock.json
StephenHodgson Apr 24, 2026
7279bc7
add additional tests
StephenHodgson Apr 24, 2026
b35017d
isolate negative UTP scenarios from matrix builds
StephenHodgson Apr 24, 2026
71bb2f5
fix CI profile and artifact scan guardrails
StephenHodgson Apr 24, 2026
aca1288
stabilize normal UTP profile for matrix jobs
StephenHodgson Apr 24, 2026
72b0b3a
prevent CI hangs during editor uninstall cleanup
StephenHodgson Apr 24, 2026
230822c
make UTP guardrail compatible without ripgrep
StephenHodgson Apr 24, 2026
b2af206
harden Unity project creation against transient CI flakes
StephenHodgson Apr 24, 2026
150c860
bump actions
StephenHodgson Apr 25, 2026
b8922c8
fix job permissions
StephenHodgson Apr 25, 2026
a373f6e
unity-cli@v2.0.0
StephenHodgson May 3, 2026
fb7f948
Merge branch 'dev/utp-logging' into dev/2.0.0
StephenHodgson May 3, 2026
2a9577a
PR review
StephenHodgson May 3, 2026
499b324
PR feedback
StephenHodgson May 3, 2026
066c097
make github actions summary opt-in
StephenHodgson May 3, 2026
3c57414
Fix Unity releases API rows with missing version field
StephenHodgson May 3, 2026
b35cec1
revert build options
StephenHodgson May 3, 2026
6d09637
tweak readme
StephenHodgson May 3, 2026
8fca29a
tweak readme (again)
StephenHodgson May 3, 2026
14ae3e8
sync cli help and readme
StephenHodgson May 3, 2026
bf48cb3
tweak readme again
StephenHodgson May 3, 2026
03ac497
normalize
StephenHodgson May 3, 2026
1cec45b
prompt user to update upm cli if update is available, warns when not …
StephenHodgson May 3, 2026
3a9367b
test upm cli install
StephenHodgson May 3, 2026
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.sh text eol=lf
85 changes: 85 additions & 0 deletions .github/actions/run-unity-test-batch/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Run Unity UTP Test Batch
description: Runs a batch of Unity UTP tests in a given Unity project.
inputs:
unity-project-path:
description: Absolute path to the Unity project.
required: true
build-target:
description: Build target to use.
required: true
build-args:
description: Additional build args.
required: false
default: ""
artifact-name:
description: Artifact name for uploaded test artifacts (UTP logs, Unity Editor/Player logs, and test results XML; must be unique per matrix job).
required: false
default: unity-tests-batch-utp-logs
test-profile:
description: Predefined UTP scenario profile to run (normal|negative|all).
required: false
default: normal
tests-input:
description: Optional explicit comma-separated test list override. When provided, this takes precedence over test-profile.
required: false
default: ""
runs:
using: composite
steps:
- name: Prepare test list and install packages
shell: bash
working-directory: ${{ inputs.unity-project-path }}
run: |
set -euo pipefail
tests_input="${{ inputs.tests-input }}"
test_profile="${{ inputs.test-profile }}"

if [ -z "$tests_input" ]; then
case "$test_profile" in
normal)
tests_input="CompilerWarnings,BuildWarnings"
;;
negative)
tests_input="CompilerErrors,BuildErrors"
;;
all)
tests_input="CompilerWarnings,CompilerErrors,BuildWarnings,BuildErrors,PlaymodeTestsErrors,EditmodeTestsErrors,EditmodeTestsPassing,EditmodeTestsSkipped,PlaymodeTestsPassing,PlaymodeTestsSkipped,EditmodeSuite,PlaymodeSuite"
;;
*)
echo "::error::Unknown test-profile '$test_profile'. Expected one of: normal, negative, all."
exit 1
;;
esac
fi

echo "Using UTP tests list: ${tests_input}"
echo "TESTS_INPUT=$tests_input" >> $GITHUB_ENV

needs_test_framework=false
if [[ "$tests_input" == *"PlaymodeTests"* || "$tests_input" == *"EditmodeTests"* || "$tests_input" == *"EditmodeSuite"* || "$tests_input" == *"PlaymodeSuite"* ]]; then
needs_test_framework=true
fi

npm install -g openupm-cli
openupm add com.utilities.buildpipeline
if [ "$needs_test_framework" = true ]; then
openupm add com.unity.test-framework
openupm add com.unity.test-framework.utp-reporter || true
fi

- name: Run tests
shell: bash
env:
UNITY_PROJECT_PATH: ${{ inputs.unity-project-path }}
BUILD_TARGET: ${{ inputs.build-target }}
BUILD_ARGS: ${{ inputs.build-args }}
run: |
bash "${GITHUB_WORKSPACE}/.github/actions/scripts/run-utp-tests.sh"

- name: Upload test artifacts
if: always()
uses: actions/upload-artifact@v7
with:
name: ${{ inputs.artifact-name }}
path: utp-artifacts/
if-no-files-found: ignore
Loading
Loading