Skip to content

Commit

Permalink
Actually add play mode tests
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Mar 15, 2024
1 parent 8eb689e commit 516c3ff
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test_sh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
fetch-depth: 0
path: ${{ matrix.projectPath }}/Packages/YarnSpinner

- name: Run tests
- name: Run edit mode tests
run: |
docker run \
--rm \
Expand All @@ -79,6 +79,16 @@ jobs:
--hostname YS-Linux-Build \
yarnspinner/unity-${{ matrix.unityVersion }}
- name: Run play mode tests
run: |
docker run \
--rm \
-v ./${{ matrix.projectPath }}:/project \
-v ./output:/output \
-e TEST_MODE=PlayMode \
--hostname YS-Linux-Build \
yarnspinner/unity-${{ matrix.unityVersion }}
- name: Upload test results
uses: actions/upload-artifact@v2
if: always()
Expand Down

0 comments on commit 516c3ff

Please sign in to comment.