@@ -73,46 +73,46 @@ jobs:
7373 - name : Run unit tests
7474 run : dotnet test --no-build --verbosity normal --configuration Debug --collect:"XPlat Code Coverage" --results-directory ./TestResults
7575
76- - name : Cache Unity Library
77- uses : actions/cache@v4
78- with :
79- path : src/Nino.Unity/Library
80- key : Library-Nino-${{ runner.os }}-${{ hashFiles('Nino.Unity/Assets/**', 'Nino.Unity/ProjectSettings/**') }}
81- restore-keys : |
82- Library-Nino-${{ runner.os }}-
83- Library-Nino-
84- Library-
85-
86- - name : Run Unity tests
87- uses : game-ci/unity-test-runner@v4
88- id : unity-tests
89- env :
90- UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
91- UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
92- UNITY_SERIAL : ${{ secrets.UNITY_SERIAL }}
93- with :
94- projectPath : ./src/Nino.Unity
95- testMode : editmode
96- githubToken : ${{ secrets.GITHUB_TOKEN }}
97- unityVersion : ' 2022.3.51f1'
98-
99- - name : Upload test results
100- uses : actions/upload-artifact@v4
101- if : always()
102- with :
103- name : test-results-${{ github.run_number }}
104- path : |
105- artifacts
106- ./src/TestResults
107- retention-days : 30
108-
109- - name : Upload Unity coverage
110- uses : actions/upload-artifact@v4
111- if : always() && steps.unity-tests.outputs.coveragePath
112- with :
113- name : unity-coverage-${{ github.run_number }}
114- path : ${{ steps.unity-tests.outputs.coveragePath }}
115- retention-days : 30
76+ # - name: Cache Unity Library
77+ # uses: actions/cache@v4
78+ # with:
79+ # path: src/Nino.Unity/Library
80+ # key: Library-Nino-${{ runner.os }}-${{ hashFiles('Nino.Unity/Assets/**', 'Nino.Unity/ProjectSettings/**') }}
81+ # restore-keys: |
82+ # Library-Nino-${{ runner.os }}-
83+ # Library-Nino-
84+ # Library-
85+ #
86+ # - name: Run Unity tests
87+ # uses: game-ci/unity-test-runner@v4
88+ # id: unity-tests
89+ # env:
90+ # UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
91+ # UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
92+ # UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
93+ # with:
94+ # projectPath: ./src/Nino.Unity
95+ # testMode: editmode
96+ # githubToken: ${{ secrets.GITHUB_TOKEN }}
97+ # unityVersion: '2022.3.51f1'
98+ #
99+ # - name: Upload test results
100+ # uses: actions/upload-artifact@v4
101+ # if: always()
102+ # with:
103+ # name: test-results-${{ github.run_number }}
104+ # path: |
105+ # artifacts
106+ # ./src/TestResults
107+ # retention-days: 30
108+ #
109+ # - name: Upload Unity coverage
110+ # uses: actions/upload-artifact@v4
111+ # if: always() && steps.unity-tests.outputs.coveragePath
112+ # with:
113+ # name: unity-coverage-${{ github.run_number }}
114+ # path: ${{ steps.unity-tests.outputs.coveragePath }}
115+ # retention-days: 30
116116
117117 # Run benchmarks on PRs only
118118 benchmark :
0 commit comments