Skip to content

Commit fd13a0c

Browse files
unity-test-summary@v1.0.3 (#5)
- update deps
1 parent b8f5abe commit fd13a0c

File tree

8 files changed

+3988
-1903
lines changed

8 files changed

+3988
-1903
lines changed

.github/workflows/update-release-tags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
permissions:
1010
contents: write
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v5
1313
with:
1414
fetch-depth: 0
1515
- uses: RageAgainstThePixel/update-action-release-tags@v1

.github/workflows/validate.yml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
name: validate
22
on:
33
push:
4-
branches:
5-
- 'main'
4+
branches: ['main']
65
pull_request:
7-
branches:
8-
- '**'
9-
# Allows you to run this workflow manually from the Actions tab
10-
workflow_dispatch:
6+
branches: ['**']
7+
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
118
concurrency:
129
group: ${{ github.workflow }}-${{ github.ref }}
1310
cancel-in-progress: true
@@ -40,38 +37,38 @@ jobs:
4037
unity-version: 6000.x
4138
build-target: StandaloneOSX
4239
steps:
43-
- uses: actions/checkout@v4
44-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v5 # checkout self
41+
- uses: actions/checkout@v5 # checkout async test repo
4542
with:
4643
repository: RageAgainstThePixel/com.utilities.async
4744
path: com.utilities.async
48-
- uses: RageAgainstThePixel/unity-setup@v1
45+
- uses: RageAgainstThePixel/unity-setup@v2
4946
with:
5047
unity-version: ${{ matrix.unity-version }}
5148
build-targets: ${{ matrix.build-target }}
5249
version-file: ${{ github.workspace }}/com.utilities.async/Utilities.Async/ProjectSettings/ProjectVersion.txt
53-
- uses: RageAgainstThePixel/activate-unity-license@v1
50+
- uses: RageAgainstThePixel/activate-unity-license@v2
5451
with:
55-
license: 'Personal'
52+
license: personal
5653
username: ${{ secrets.UNITY_USERNAME }}
5754
password: ${{ secrets.UNITY_PASSWORD }}
58-
- uses: RageAgainstThePixel/unity-action@v1
59-
name: '${{ matrix.build-target }}-Validate'
55+
- uses: RageAgainstThePixel/unity-action@v3
56+
name: ${{ matrix.build-target }}-Validate
6057
with:
61-
log-name: '${{ matrix.build-target }}-Validate'
62-
args: '-quit -nographics -batchmode -executeMethod Utilities.Editor.BuildPipeline.UnityPlayerBuildTools.ValidateProject -importTMProEssentialsAsset'
63-
- uses: RageAgainstThePixel/unity-action@v1
64-
name: '${{ matrix.build-target }}-Test'
58+
log-name: ${{ matrix.build-target }}-Validate
59+
args: -quit -executeMethod Utilities.Editor.BuildPipeline.UnityPlayerBuildTools.ValidateProject -importTMProEssentialsAsset
60+
- uses: RageAgainstThePixel/unity-action@v3
61+
name: ${{ matrix.build-target }}-Test
6562
with:
66-
log-name: '${{ matrix.build-target }}-Test'
63+
log-name: ${{ matrix.build-target }}-Test
6764
build-target: ${{ matrix.build-target }}
68-
args: '-nographics -batchmode -runTests -testPlatform EditMode -testResults "${{ github.workspace }}/Logs/${{ matrix.build-target }}-results.xml"'
65+
args: -runTests -testPlatform EditMode -testResults "${{ github.workspace }}/Logs/${{ matrix.build-target }}-results.xml"
6966
- uses: actions/upload-artifact@v4
7067
if: success() || failure()
7168
with:
7269
compression-level: 0
7370
retention-days: 1
74-
name: '${{ github.run_number }}.${{ github.run_attempt }}-${{ matrix.os }}-${{ matrix.unity-version }}-${{ matrix.build-target }}-Artifacts'
71+
name: ${{ github.run_number }}.${{ github.run_attempt }}-${{ matrix.os }}-${{ matrix.unity-version }}-${{ matrix.build-target }}-Artifacts
7572
path: |
7673
${{ github.workspace }}/**/*.log
7774
- uses: ./ # RageAgainstThePixel/unity-test-summary

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# unity-test-summary
22

3-
A GitHub action to gather and display Unit Tests from the Unity Game Engine.
3+
A GitHub action to gather and display Unit Tests from the Unity Game Engine in the workflow summary.
44

55
## How to use
66

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: unity-test-summary
2-
description: 'A GitHub action to gather and display Unit Tests from the Unity Game Engine.'
2+
description: A GitHub action to gather and display Unit Tests from the Unity Game Engine in the workflow summary.
33
branding:
4-
icon: 'list'
5-
color: 'blue'
4+
icon: list
5+
color: blue
66
inputs:
77
test-results:
8-
description: 'The path to the test results file(s).'
8+
description: The path to the test results file(s).
99
required: true
1010
runs:
11-
using: 'node20'
12-
main: 'dist/index.js'
11+
using: node20
12+
main: dist/index.js

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4612,7 +4612,7 @@ function expand(str, isTop) {
46124612
var isOptions = m.body.indexOf(',') >= 0;
46134613
if (!isSequence && !isOptions) {
46144614
// {a},b}
4615-
if (m.post.match(/,.*\}/)) {
4615+
if (m.post.match(/,(?!,).*\}/)) {
46164616
str = m.pre + '{' + m.body + escClose + m.post;
46174617
return expand(str);
46184618
}

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)