Run test runner at master

This commit is contained in:
Webber 2019-12-14 18:13:30 +01:00 committed by Webber Takken
parent 9a21280b09
commit b955df1dcb
2 changed files with 5 additions and 3 deletions

View File

@ -7,6 +7,7 @@ on:
env: env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
PROJECT_PATH: test-project PROJECT_PATH: test-project
UNITY_PROJECT_PATH: test-project
jobs: jobs:
checkout: checkout:
@ -26,7 +27,9 @@ jobs:
needs: [checkout, activate] needs: [checkout, activate]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: webbertakken/unity-test-runner@v1 - uses: webbertakken/unity-test-runner@master
env:
TEST_MODE: all
buildForWebGL: buildForWebGL:
name: Build for WebGL name: Build for WebGL
@ -35,7 +38,6 @@ jobs:
steps: # webbertakken/unity-builder@v0.3-webgl steps: # webbertakken/unity-builder@v0.3-webgl
- uses: ./ - uses: ./
buildForAndroid: buildForAndroid:
name: Build for Android name: Build for Android
needs: [test] needs: [test]

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# Set project path (configured with "with: { project: somepath }" # Set project path
# #
UNITY_PROJECT_PATH=$GITHUB_WORKSPACE/$PROJECT_PATH UNITY_PROJECT_PATH=$GITHUB_WORKSPACE/$PROJECT_PATH