Skip to content

Commit ab7f4e1

Browse files
authored
Merge pull request #285 from nowsprinting/chore/fix_workflow
Fix checkName in test workflow
2 parents bf7ee84 + 8e8d6ae commit ab7f4e1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ jobs:
9999
openupm add -f com.nowsprinting.test-helper.random
100100
working-directory: ${{ env.CREATED_PROJECT_PATH }}
101101

102+
- name: Install inputsystem package
103+
run: |
104+
openupm add -f com.unity.inputsystem@1.12.0 # latest for Unity 2019 LTS
105+
working-directory: ${{ env.CREATED_PROJECT_PATH }}
106+
if: ${{ matrix.inputHandler != '0' }}
107+
102108
- name: Install codecoverage package
103109
run: |
104110
openupm add -f com.unity.testtools.codecoverage
@@ -112,12 +118,6 @@ jobs:
112118
echo "assembly_filters=$(echo ${assemblies[*]} | sed -e s/\ /,/g),+<assets>,-*.Tests" >> "$GITHUB_ENV"
113119
if: ${{ matrix.octocov }}
114120

115-
- name: Install inputsystem package
116-
run: |
117-
openupm add -f com.unity.inputsystem@1.12.0 # latest for Unity 2019 LTS
118-
working-directory: ${{ env.CREATED_PROJECT_PATH }}
119-
if: ${{ matrix.inputHandler != '0' }}
120-
121121
- name: Import Samples
122122
run: |
123123
mv ${{ env.PACKAGE_PATH }}/Samples~ ${{ env.CREATED_PROJECT_PATH }}/Assets/Samples
@@ -130,7 +130,7 @@ jobs:
130130
with:
131131
githubToken: ${{ secrets.GITHUB_TOKEN }}
132132
unityVersion: ${{ matrix.unityVersion }} # Default is `auto`
133-
checkName: test result (${{ matrix.unityVersion }}, ${{ matrix.testMode }}, ${{ matrix.inputHandler }})
133+
checkName: test (${{ matrix.unityVersion }}, ${{ matrix.testMode }}, ${{ matrix.inputHandler }})
134134
projectPath: ${{ env.CREATED_PROJECT_PATH }}
135135
customParameters: -testCategory "!IgnoreCI" -testHelperScreenshotDirectory /github/workspace/artifacts/Screenshots
136136
# Note: `/github/workspace/artifacts` is the artifacts path inside the game-ci container

0 commit comments

Comments
 (0)