2 Commits

Author SHA1 Message Date
06ccf153c9 remove test stages from CI while we have no tests
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2023-07-16 23:57:06 -05:00
65b6e17862 add Code Coverage package
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-07-16 23:55:36 -05:00
6 changed files with 67 additions and 28 deletions

View File

@@ -27,34 +27,28 @@ pipeline:
- chmod +x ${UNITY_DIR}/ci/before_script.sh - chmod +x ${UNITY_DIR}/ci/before_script.sh
- ${UNITY_DIR}/ci/before_script.sh - ${UNITY_DIR}/ci/before_script.sh
secrets: [unity_license] secrets: [unity_license]
test-playmode: # test-playmode:
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION} # image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
group: test # group: test
commands: # commands:
- chmod +x ${UNITY_DIR}/ci/test.sh # - chmod +x ${UNITY_DIR}/ci/test.sh
- ${UNITY_DIR}/ci/test.sh # - ${UNITY_DIR}/ci/test.sh
environment: # environment:
- TEST_PLATFORM=playmode # - TEST_PLATFORM=playmode
- TESTING_TYPE=NUNIT # - TESTING_TYPE=NUNIT
- VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER} # - VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
- VERSION_BUILD_VAR=${CI_COMMIT_HASH} # - VERSION_BUILD_VAR=${CI_COMMIT_HASH}
when: # test-editmode:
branch: # image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
exclude: [main] # group: test
test-editmode: # commands:
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION} # - chmod +x ${UNITY_DIR}/ci/test.sh
group: test # - ${UNITY_DIR}/ci/test.sh
commands: # environment:
- chmod +x ${UNITY_DIR}/ci/test.sh # - TEST_PLATFORM=editmode
- ${UNITY_DIR}/ci/test.sh # - TESTING_TYPE=NUNIT
environment: # - VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
- TEST_PLATFORM=editmode # - VERSION_BUILD_VAR=${CI_COMMIT_HASH}
- TESTING_TYPE=NUNIT
- VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
when:
branch:
exclude: [main]
build-standalone-windows: build-standalone-windows:
image: ${IMAGE}:${UNITY_VERSION}-windows-mono-${IMAGE_VERSION} image: ${IMAGE}:${UNITY_VERSION}-windows-mono-${IMAGE_VERSION}
group: build group: build

8
Assets/Scripts.meta Normal file
View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: aa9282cec7ff5ee4ea9898bfc5d2366d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a298ceea9d6a15144a14410c55bc73f4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d3fad0d600a90224d8b11fa8ab794a5f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -6,6 +6,7 @@
"com.unity.ide.vscode": "1.2.5", "com.unity.ide.vscode": "1.2.5",
"com.unity.render-pipelines.universal": "14.0.8", "com.unity.render-pipelines.universal": "14.0.8",
"com.unity.test-framework": "1.1.33", "com.unity.test-framework": "1.1.33",
"com.unity.testtools.codecoverage": "1.2.4",
"com.unity.textmeshpro": "3.0.6", "com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.7.4", "com.unity.timeline": "1.7.4",
"com.unity.ugui": "1.0.0", "com.unity.ugui": "1.0.0",

View File

@@ -84,6 +84,13 @@
"dependencies": {}, "dependencies": {},
"url": "https://packages.unity.com" "url": "https://packages.unity.com"
}, },
"com.unity.settings-manager": {
"version": "2.0.1",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.shadergraph": { "com.unity.shadergraph": {
"version": "14.0.8", "version": "14.0.8",
"depth": 1, "depth": 1,
@@ -104,6 +111,16 @@
}, },
"url": "https://packages.unity.com" "url": "https://packages.unity.com"
}, },
"com.unity.testtools.codecoverage": {
"version": "1.2.4",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.0.16",
"com.unity.settings-manager": "1.0.1"
},
"url": "https://packages.unity.com"
},
"com.unity.textmeshpro": { "com.unity.textmeshpro": {
"version": "3.0.6", "version": "3.0.6",
"depth": 0, "depth": 0,