Gaze: Added item layer as default for the prefab's seeing layer; adde… #130
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Test Workflow | |
on: | |
push: | |
branches-ignore: | |
# do not execute this on the master branch - we have a CI action for that | |
- master | |
pull_request: | |
branches-ignore: | |
# do not execute this on the master branch - we have a CI action for that | |
- master | |
jobs: | |
testAllModes: | |
name: Test in ${{ matrix.testMode }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
projectPath: | |
- . | |
testMode: | |
- playmode | |
- editmode | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: ${{ matrix.projectPath }}/Library | |
key: Library-${{ matrix.projectPath }} | |
restore-keys: | | |
Library- | |
- uses: game-ci/unity-test-runner@v2 | |
id: tests | |
env: | |
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
with: | |
projectPath: ${{ matrix.projectPath }} | |
testMode: ${{ matrix.testMode }} | |
artifactsPath: ${{ matrix.testMode }}-artifacts | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
checkName: ${{ matrix.testMode }} Test Results | |
- uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: Test results for ${{ matrix.testMode }} | |
path: ${{ steps.tests.outputs.artifactsPath }} |