File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 54
54
key : Library-${{ matrix.unityVersion }}-${{ matrix.testMode }}
55
55
restore-keys : Library-
56
56
57
- - name : Run tests ${{ matrix.unityVersion }}-${{ matrix.testMode }}
57
+ - name : Run tests ${{ matrix.unityVersion }}-${{ matrix.testMode }} with ZeroDepJSON
58
58
uses : game-ci/unity-test-runner@v2
59
59
id : tests
60
60
env :
69
69
unityVersion : ${{ matrix.unityVersion }}
70
70
githubToken : ${{ secrets.GITHUB_TOKEN }}
71
71
customParameters : -apikey ${{ secrets.LOOTLOCKER_API_KEY }} -domainkey ${{ secrets.LOOTLOCKER_DOMAIN_KEY }}
72
+ - name : Configure LootLocker to use Newtonsoft JSON
73
+ run : |
74
+ sed -i 's/NO_LOOTLOCKER_USE_NEWTONSOFTJSON/LOOTLOCKER_USE_NEWTONSOFTJSON/' tests~/ProjectSettings/ProjectSettings.asset
75
+ - name : Run tests ${{ matrix.unityVersion }}-${{ matrix.testMode }} with Newtonsoft JSON
76
+ uses : game-ci/unity-test-runner@v2
77
+ id : tests2
78
+ env :
79
+ UNITY_LICENSE : ${{ secrets.UNITY_LICENSE }}
80
+ UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
81
+ UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
82
+ with :
83
+ testMode : ${{ matrix.testMode }}
84
+ checkName : ${{ matrix.unityVersion }}-${{ matrix.testMode }} Newtonsoft Test Results
85
+ artifactsPath : ${{ matrix.unityVersion }}-${{ matrix.testMode }}-newtonsoft-artifacts
86
+ projectPath : tests~/
87
+ unityVersion : ${{ matrix.unityVersion }}
88
+ githubToken : ${{ secrets.GITHUB_TOKEN }}
89
+ customParameters : -apikey ${{ secrets.LOOTLOCKER_API_KEY }} -domainkey ${{ secrets.LOOTLOCKER_DOMAIN_KEY }}
72
90
73
91
# Commented out because as of right now it doesn't expand the test results, just repeat pass/fail
74
92
# - uses: actions/upload-artifact@v2
You can’t perform that action at this time.
0 commit comments