move sample package to example.com domain
parent
ad8643f7c6
commit
70eaa735aa
|
|
@ -407,7 +407,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
projectPath:
|
projectPath:
|
||||||
- unity-package-with-correct-tests/com.fake.notarealpackage
|
- unity-package-with-correct-tests/com.example.testpackage
|
||||||
unityVersion:
|
unityVersion:
|
||||||
- 2019.2.11f1
|
- 2019.2.11f1
|
||||||
testMode:
|
testMode:
|
||||||
|
|
@ -446,7 +446,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
projectPath:
|
projectPath:
|
||||||
- unity-package-with-correct-tests/com.fake.notarealpackage
|
- unity-package-with-correct-tests/com.example.testpackage
|
||||||
unityVersion:
|
unityVersion:
|
||||||
- 2019.2.11f1
|
- 2019.2.11f1
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -465,7 +465,7 @@ jobs:
|
||||||
projectPath: ${{ matrix.projectPath }}
|
projectPath: ${{ matrix.projectPath }}
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
testMode: all
|
testMode: all
|
||||||
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+fake.notarealpackage.*,-*Tests*'
|
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+example.testpackage.*,-*Tests*'
|
||||||
packageMode: true
|
packageMode: true
|
||||||
# Test implicit artifactsPath, by not setting it
|
# Test implicit artifactsPath, by not setting it
|
||||||
|
|
||||||
|
|
@ -494,7 +494,7 @@ jobs:
|
||||||
unityVersion:
|
unityVersion:
|
||||||
- 2019.2.11f1
|
- 2019.2.11f1
|
||||||
projectPath:
|
projectPath:
|
||||||
- unity-package-with-correct-tests/com.fake.notarealpackage
|
- unity-package-with-correct-tests/com.example.testpackage
|
||||||
steps:
|
steps:
|
||||||
###########################
|
###########################
|
||||||
# Checkout #
|
# Checkout #
|
||||||
|
|
@ -511,7 +511,7 @@ jobs:
|
||||||
projectPath: ${{ matrix.projectPath }}
|
projectPath: ${{ matrix.projectPath }}
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
testMode: editmode
|
testMode: editmode
|
||||||
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+fake.notarealpackage.*,-*Tests*'
|
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+example.testpackage.*,-*Tests*'
|
||||||
artifactsPath: artifacts/packageeditmode
|
artifactsPath: artifacts/packageeditmode
|
||||||
packageMode: true
|
packageMode: true
|
||||||
|
|
||||||
|
|
@ -538,7 +538,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
projectPath:
|
projectPath:
|
||||||
- unity-package-with-correct-tests/com.fake.notarealpackage
|
- unity-package-with-correct-tests/com.example.testpackage
|
||||||
unityVersion:
|
unityVersion:
|
||||||
- 2019.2.11f1
|
- 2019.2.11f1
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -557,7 +557,7 @@ jobs:
|
||||||
projectPath: ${{ matrix.projectPath }}
|
projectPath: ${{ matrix.projectPath }}
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
testMode: playmode
|
testMode: playmode
|
||||||
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+fake.notarealpackage.*,-*Tests*'
|
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+example.testpackage.*,-*Tests*'
|
||||||
artifactsPath: artifacts/packageplaymode
|
artifactsPath: artifacts/packageplaymode
|
||||||
packageMode: true
|
packageMode: true
|
||||||
|
|
||||||
|
|
@ -586,7 +586,7 @@ jobs:
|
||||||
unityVersion:
|
unityVersion:
|
||||||
- 2019.2.11f1
|
- 2019.2.11f1
|
||||||
projectPath:
|
projectPath:
|
||||||
- unity-package-with-correct-tests/com.fake.notarealpackage
|
- unity-package-with-correct-tests/com.example.testpackage
|
||||||
steps:
|
steps:
|
||||||
###########################
|
###########################
|
||||||
# Checkout #
|
# Checkout #
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"name": "example.testpackage.Editor",
|
||||||
|
"rootNamespace": "",
|
||||||
|
"references": [
|
||||||
|
"example.testpackage.Runtime"
|
||||||
|
],
|
||||||
|
"includePlatforms": [],
|
||||||
|
"excludePlatforms": [],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": false,
|
||||||
|
"precompiledReferences": [],
|
||||||
|
"autoReferenced": true,
|
||||||
|
"defineConstraints": [],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"name": "example.testpackage.Runtime",
|
||||||
|
"rootNamespace": "",
|
||||||
|
"references": [],
|
||||||
|
"includePlatforms": [],
|
||||||
|
"excludePlatforms": [],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": false,
|
||||||
|
"precompiledReferences": [],
|
||||||
|
"autoReferenced": true,
|
||||||
|
"defineConstraints": [],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"name": "example.testpackage.EditorTests",
|
||||||
|
"rootNamespace": "",
|
||||||
|
"references": [
|
||||||
|
"UnityEngine.TestRunner",
|
||||||
|
"UnityEditor.TestRunner",
|
||||||
|
"example.testpackage.Editor",
|
||||||
|
"example.testpackage.Runtime"
|
||||||
|
],
|
||||||
|
"includePlatforms": [
|
||||||
|
"Editor"
|
||||||
|
],
|
||||||
|
"excludePlatforms": [],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": true,
|
||||||
|
"precompiledReferences": [
|
||||||
|
"nunit.framework.dll"
|
||||||
|
],
|
||||||
|
"autoReferenced": false,
|
||||||
|
"defineConstraints": [
|
||||||
|
"UNITY_INCLUDE_TESTS"
|
||||||
|
],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"name": "example.testpackage.RuntimeTests",
|
||||||
|
"rootNamespace": "",
|
||||||
|
"references": [
|
||||||
|
"UnityEngine.TestRunner",
|
||||||
|
"UnityEditor.TestRunner",
|
||||||
|
"example.testpackage.Runtime"
|
||||||
|
],
|
||||||
|
"includePlatforms": [],
|
||||||
|
"excludePlatforms": [],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": true,
|
||||||
|
"precompiledReferences": [
|
||||||
|
"nunit.framework.dll"
|
||||||
|
],
|
||||||
|
"autoReferenced": false,
|
||||||
|
"defineConstraints": [
|
||||||
|
"UNITY_INCLUDE_TESTS"
|
||||||
|
],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"name": "com.example.testpackage",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"displayName": "Test Package",
|
||||||
|
"description": "Test Package",
|
||||||
|
"unity": "2019.2",
|
||||||
|
"unityRelease": "11f1",
|
||||||
|
"keywords": [
|
||||||
|
"nothing"
|
||||||
|
],
|
||||||
|
"author": {
|
||||||
|
"name": "Example Author",
|
||||||
|
"email": "author@example.com",
|
||||||
|
"url": "example.com"
|
||||||
|
},
|
||||||
|
"type": "tool",
|
||||||
|
"hideInEditor": false
|
||||||
|
}
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"name": "fake.notarealpackage.Editor",
|
|
||||||
"references": [
|
|
||||||
"fake.notarealpackage.Runtime"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"name": "fake.notarealpackage.Runtime"
|
|
||||||
}
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
{
|
|
||||||
"name": "fake.notarealpackage.EditorTests",
|
|
||||||
"references": [
|
|
||||||
"fake.notarealpackage.Runtime",
|
|
||||||
"fake.notarealpackage.Editor"
|
|
||||||
],
|
|
||||||
"optionalUnityReferences": [
|
|
||||||
"TestAssemblies"
|
|
||||||
],
|
|
||||||
"includePlatforms": [
|
|
||||||
"Editor"
|
|
||||||
],
|
|
||||||
"excludePlatforms": []
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"name": "fake.notarealpackage.RuntimeTests",
|
|
||||||
"references": [
|
|
||||||
"fake.notarealpackage.Runtime"
|
|
||||||
],
|
|
||||||
"optionalUnityReferences": [
|
|
||||||
"TestAssemblies"
|
|
||||||
],
|
|
||||||
"includePlatforms": [],
|
|
||||||
"excludePlatforms": []
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"name": "com.fake.notarealpackage",
|
|
||||||
"version": "0.0.1",
|
|
||||||
"displayName": "Fake package",
|
|
||||||
"description": "Not a real package",
|
|
||||||
"unity": "2019.2",
|
|
||||||
"unityRelease": "11f1",
|
|
||||||
"keywords": [
|
|
||||||
"nothing"
|
|
||||||
],
|
|
||||||
"author": {
|
|
||||||
"name": "Not Real",
|
|
||||||
"email": "notreal@notarealemailendpoint.com",
|
|
||||||
"url": "https://github.com"
|
|
||||||
},
|
|
||||||
"type": "tool",
|
|
||||||
"hideInEditor": false
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue