Add new input and basic test

This commit is contained in:
Aaron Trudeau
2021-10-21 00:10:08 -04:00
parent d9147cdc1d
commit 1a54f845f3
7 changed files with 85 additions and 5 deletions

View File

@@ -263,3 +263,44 @@ jobs:
name: Test results (combined)
path: artifacts/
retention-days: 14
testPackageRunnerInEditMode:
name: Test package mode in edit mode 📦📝
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
unityVersion:
- 2019.2.11f1
projectPath:
- unity-project-with-correct-tests
steps:
###########################
# Checkout #
###########################
- uses: actions/checkout@v2
with:
lfs: true
###########################
# Cache(don't use yet) #
###########################
# Configure test runner
- name: Run tests
id: editMode
uses: ./
with:
projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }}
testMode: editmode
artifactsPath: artifacts/editmode
packageMode: true
# Upload artifacts
- name: Upload test results
uses: actions/upload-artifact@v2
with:
name: Test results (edit mode)
path: ${{ steps.editMode.outputs.artifactsPath }}
retention-days: 14