mirror of
https://github.com/game-ci/unity-actions.git
synced 2026-01-29 04:39:07 +08:00
Refactor test runner to activate and run
This commit is contained in:
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@@ -23,3 +23,17 @@ jobs:
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
|
||||
# Configure test runner
|
||||
- name: Run tests
|
||||
uses: ./test-runner
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_PROJECT: sample-project
|
||||
TEST_PLATFORM: playmode # [ playmode | editmode ]
|
||||
|
||||
# Upload artifact
|
||||
- name: Expose as artifact
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: test results
|
||||
path: sample-project/playmode-results.xml
|
||||
|
||||
Reference in New Issue
Block a user