Merge remote-tracking branch 'origin/development' into Code-Analysis

This commit is contained in:
vimylleu
2023-03-10 02:38:55 -07:00
119 changed files with 5055 additions and 1423 deletions

View File

@@ -2,6 +2,9 @@ kind: pipeline
name: sonarcube
type: docker
clone:
retries: 10
steps:
- name: unity-build-tests
image: docker.io/library/unity-test-runner:0.1
@@ -41,3 +44,24 @@ trigger:
event:
- push
- pull_request
---
kind: pipeline
name: tests
type: docker
trigger:
event:
- push
- pull_request
steps:
- name: unity-build-tests
image: docker.io/library/unity-test-runner:0.1
commands:
- /opt/unity/editors/2021.3.19f1/Editor/Unity -runTests -batchmode -nographics -projectPath . -testResults results_editmode.xml -testPlatform EditMode || true
- /opt/unity/editors/2021.3.19f1/Editor/Unity -runTests -batchmode -nographics -projectPath . -testResults results_playmode.xml -testPlatform PlayMode || true
- name: tests-parser
image: docker.io/library/unity-test-parser:0.1
commands:
- python /app/unity_test_parser.py results_editmode.xml results_playmode.xml