-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add github actions for test runner (#24)
* Test runner * No matrix * Activation * Added code coverage * Updated meta? * Updated .so * Enable coverage * Versions testing * Update * Warning? * Removed token, update action
- Loading branch information
Showing
6 changed files
with
140 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Acquire activation file | ||
on: | ||
workflow_dispatch: {} | ||
jobs: | ||
activation: | ||
name: Request manual activation file 🔑 | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Request manual activation file | ||
- name: Request manual activation file | ||
id: getManualLicenseFile | ||
uses: game-ci/unity-request-activation-file@v2 | ||
# Upload artifact (Unity_v20XX.X.XXXX.alf) | ||
- name: Expose as artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ steps.getManualLicenseFile.outputs.filePath }} | ||
path: ${{ steps.getManualLicenseFile.outputs.filePath }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Testing | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
testAllModes: | ||
name: Test in ${{ matrix.unityVersion }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
unityVersion: | ||
- 2019.4.40f1 | ||
- 2020.3.48f1 | ||
- 2021.3.25f1 | ||
- 2022.2.19f1 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: game-ci/unity-test-runner@v2 | ||
id: tests | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
with: | ||
testMode: playmode | ||
unityVersion: ${{ matrix.unityVersion }} | ||
checkName: ${{ matrix.unityVersion }} Test Results | ||
coverageOptions: 'generateHtmlReport;assemblyFilters:+com.whisper.unity' | ||
- uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: Test results for ${{ matrix.unityVersion }} | ||
path: ${{ steps.tests.outputs.artifactsPath }} | ||
- uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: Coverage results for ${{ matrix.unityVersion }} | ||
path: ${{ steps.tests.outputs.coveragePath }} |
Binary file not shown.
65 changes: 62 additions & 3 deletions
65
Packages/com.whisper.unity/Plugins/Linux/libwhisper.so.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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