Refactor test runner to activate and run

This commit is contained in:
Webber
2019-11-26 08:29:27 +01:00
committed by Webber Takken
parent 0cf5f3d836
commit a4c0994046
5 changed files with 81 additions and 60 deletions

View File

@@ -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