updated test workflows
parent
33d5aaaf3e
commit
0fb209bbbf
|
|
@ -209,7 +209,7 @@ jobs:
|
||||||
path: ${{ steps.playMode.outputs.artifactsPath }}
|
path: ${{ steps.playMode.outputs.artifactsPath }}
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
|
|
||||||
testCodeCoveragePermutations:
|
testCodeCoverage:
|
||||||
name: Test Code Coverage 📏
|
name: Test Code Coverage 📏
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -221,6 +221,8 @@ jobs:
|
||||||
- 2019.2.11f1
|
- 2019.2.11f1
|
||||||
projectPath:
|
projectPath:
|
||||||
- unity-project-with-correct-tests
|
- unity-project-with-correct-tests
|
||||||
|
coverageAssemblyFilters:
|
||||||
|
- '+MyScripts'
|
||||||
testMode:
|
testMode:
|
||||||
- playmode
|
- playmode
|
||||||
- editmode
|
- editmode
|
||||||
|
|
@ -253,6 +255,7 @@ jobs:
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
testMode: ${{ matrix.testMode }}
|
testMode: ${{ matrix.testMode }}
|
||||||
enableCodeCoverage: ${{ matrix.enableCodeCoverage }}
|
enableCodeCoverage: ${{ matrix.enableCodeCoverage }}
|
||||||
|
coverageAssemblyFilters: ${{ matrix.coverageAssemblyFilters }}
|
||||||
|
|
||||||
# Upload artifacts
|
# Upload artifacts
|
||||||
- name: Upload code coverage results
|
- name: Upload code coverage results
|
||||||
|
|
@ -272,6 +275,8 @@ jobs:
|
||||||
- 2019.2.11f1
|
- 2019.2.11f1
|
||||||
projectPath:
|
projectPath:
|
||||||
- unity-project-with-correct-tests
|
- unity-project-with-correct-tests
|
||||||
|
enableCodeCoverage:
|
||||||
|
- true
|
||||||
steps:
|
steps:
|
||||||
###########################
|
###########################
|
||||||
# Checkout #
|
# Checkout #
|
||||||
|
|
@ -299,6 +304,8 @@ jobs:
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
testMode: editmode
|
testMode: editmode
|
||||||
artifactsPath: artifacts/editmode
|
artifactsPath: artifacts/editmode
|
||||||
|
enableCodeCoverage: ${{ matrix.enableCodeCoverage }}
|
||||||
|
coverageResultsPath: CodeCoverage/editmode
|
||||||
|
|
||||||
# Configure second test runner
|
# Configure second test runner
|
||||||
- name: Tests in playmode 📺
|
- name: Tests in playmode 📺
|
||||||
|
|
@ -308,6 +315,8 @@ jobs:
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
testMode: playmode
|
testMode: playmode
|
||||||
artifactsPath: artifacts/playmode
|
artifactsPath: artifacts/playmode
|
||||||
|
enableCodeCoverage: ${{ matrix.enableCodeCoverage }}
|
||||||
|
coverageResultsPath: CodeCoverage/playmode
|
||||||
|
|
||||||
# Upload combined artifacts
|
# Upload combined artifacts
|
||||||
- name: Upload combined test results
|
- name: Upload combined test results
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue