add package mode all mode workflow step

pull/164/head
Aaron Trudeau 2022-01-27 17:45:04 -05:00
parent 963f4e51b3
commit 522658a504
No known key found for this signature in database
GPG Key ID: D6874B046ABF9536
1 changed files with 42 additions and 0 deletions

View File

@ -264,6 +264,48 @@ jobs:
path: artifacts/ path: artifacts/
retention-days: 14 retention-days: 14
testPackageRunnerInAllModes:
name: Test package mode in all modes ✨
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
projectPath:
- unity-package-with-correct-tests/com.fake.notarealpackage
unityVersion:
- 2019.2.11f1
steps:
###########################
# Checkout #
###########################
- uses: actions/checkout@v2
with:
lfs: true
###########################
# Cache (not yet) #
###########################
# Configure test runner
- name: Run tests
id: allTests
uses: ./
with:
projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }}
testMode: all
packageMode: true
# Test implicit artifactsPath, by not setting it
# Upload artifacts
- name: Upload test results
uses: actions/upload-artifact@v2
with:
name: Test results (all)
path: ${{ steps.allTests.outputs.artifactsPath }}
retention-days: 14
testPackageRunnerInEditMode: testPackageRunnerInEditMode:
name: Test package mode in edit mode 📦📝 name: Test package mode in edit mode 📦📝
runs-on: ubuntu-latest runs-on: ubuntu-latest