Skip to content

Commit 5f79385

Browse files
committed
Merge branch 'develop' into release/1.X
2 parents 5ac6cb1 + f1da863 commit 5f79385

File tree

135 files changed

+2140
-743
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+2140
-743
lines changed

.github/codecov.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
codecov:
2+
max_report_age: false
3+
require_ci_to_pass: false
4+
notify:
5+
wait_for_ci: true
6+
7+
coverage:
8+
precision: 2
9+
round: down
10+
range: "50...70"
11+
status:
12+
patch:
13+
default:
14+
target: auto
15+
threshold: 1%
16+
base: auto
17+
if_ci_failed: success
18+
informational: true
19+
only_pulls: true
20+
default_rules:
21+
flag_coverage_not_uploaded_behavior: exclude
22+
project:
23+
default:
24+
target: auto
25+
threshold: 1%
26+
base: auto
27+
if_ci_failed: success
28+
informational: true
29+
only_pulls: true
30+
31+
comment:
32+
layout: "diff,flags,files"
33+
behavior: default
34+
require_changes: false
35+
require_base: true
36+
require_head: true
37+
after_n_builds: 1
38+
39+
flag_management:
40+
default_rules:
41+
carryforward: true

.yamato/analyze.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ code_analyser:
1717
- upm-ci project test --project-path Tools/CodeAnalyzerTestProject -u 2021.3
1818
triggers:
1919
cancel_old_ci: true
20-
pull_requests:
21-
- targets:
22-
only:
23-
- "develop"
20+
expression: pull_request.(target eq "develop" AND NOT changes.all match "**/*.md")
2421
artifacts:
2522
UTR_Output.zip:
2623
paths:

.yamato/config.metadata

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ editors:
66
run_tvos: false
77
- version: 6000.1
88
run_tvos: false
9+
- version: 6000.2
10+
run_tvos: false
911
- version: trunk
1012
run_tvos: false
1113

.yamato/format.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,4 @@ check_formatting:
1212
- perl unity-meta/Tools/Format/format.pl Assets Packages --dry-run
1313
triggers:
1414
cancel_old_ci: true
15-
pull_requests:
16-
- targets:
17-
only:
18-
- "develop"
15+
expression: pull_request.(target eq "develop" AND NOT changes.all match "**/*.md")

.yamato/test-samples.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ test_sample_projects_{{ editor.version }}:
1414
- Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=DryRun sh ExternalSampleProjects/publish.sh
1515
triggers:
1616
cancel_old_ci: true
17-
pull_requests:
18-
- targets:
19-
only:
20-
- "develop"
17+
expression: pull_request.(target eq "develop" AND NOT changes.all match "**/*.md")
2118
artifacts:
2219
UTR_Output.zip:
2320
paths:

.yamato/upm-ci.yml

Lines changed: 38 additions & 40 deletions
Large diffs are not rendered by default.

.yamato/wrench/preview-a-p-v.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ preview_apv_-_6000_2_-_macos:
691691
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
692692
timeout: 20
693693
retries: 10
694-
- command: unity-downloader-cli -u 6000.2 -c Editor --fast
694+
- command: unity-downloader-cli -u 6000.2 -c Editor --fast --wait
695695
timeout: 10
696696
retries: 3
697697
- command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.2 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~
@@ -745,7 +745,7 @@ preview_apv_-_6000_2_-_ubuntu:
745745
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
746746
timeout: 20
747747
retries: 10
748-
- command: unity-downloader-cli -u 6000.2 -c Editor --fast
748+
- command: unity-downloader-cli -u 6000.2 -c Editor --fast --wait
749749
timeout: 10
750750
retries: 3
751751
- command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.2 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~
@@ -800,7 +800,7 @@ preview_apv_-_6000_2_-_windows:
800800
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
801801
timeout: 20
802802
retries: 10
803-
- command: unity-downloader-cli -u 6000.2 -c Editor --fast
803+
- command: unity-downloader-cli -u 6000.2 -c Editor --fast --wait
804804
timeout: 10
805805
retries: 3
806806
- command: python PythonScripts/preview_apv.py --wrench-config=.yamato/wrench/wrench_config.json --editor-version=6000.2 --testsuite=editor,playmode --artifacts-path=PreviewApvArtifacts~

.yamato/wrench/validation-jobs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ validate_-_inputsystem_-_6000_2_-_macos:
805805
- command: 7z x -aoa wrench-localapv.zip
806806
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
807807
- command: python PythonScripts/print_machine_info.py
808-
- command: unity-downloader-cli -u 6000.2 -c Editor --fast
808+
- command: unity-downloader-cli -u 6000.2 -c Editor --fast --wait
809809
timeout: 10
810810
retries: 3
811811
- command: upm-pvp create-test-project test-inputsystem --packages "upm-ci~/packages/*.tgz" --unity .Editor
@@ -871,7 +871,7 @@ validate_-_inputsystem_-_6000_2_-_ubuntu:
871871
- command: 7z x -aoa wrench-localapv.zip
872872
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
873873
- command: python PythonScripts/print_machine_info.py
874-
- command: unity-downloader-cli -u 6000.2 -c Editor --fast
874+
- command: unity-downloader-cli -u 6000.2 -c Editor --fast --wait
875875
timeout: 10
876876
retries: 3
877877
- command: upm-pvp create-test-project test-inputsystem --packages "upm-ci~/packages/*.tgz" --unity .Editor
@@ -937,7 +937,7 @@ validate_-_inputsystem_-_6000_2_-_windows:
937937
- command: 7z x -aoa wrench-localapv.zip
938938
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
939939
- command: python PythonScripts/print_machine_info.py
940-
- command: unity-downloader-cli -u 6000.2 -c Editor --fast
940+
- command: unity-downloader-cli -u 6000.2 -c Editor --fast --wait
941941
timeout: 10
942942
retries: 3
943943
- command: upm-pvp create-test-project test-inputsystem --packages "upm-ci~/packages/*.tgz" --unity .Editor

Assets/Editor/AddScenesToBuild.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using UnityEditor;
33
using UnityEditor.SceneManagement;
44
using UnityEngine;
5+
using System;
56

67
[InitializeOnLoad]
78
public class AddScenesToBuild : EditorWindow
@@ -66,7 +67,7 @@ private static bool IsPathInExcludedFolder(string path)
6667
// Check if the path or any part of it contains any of the excluded folder names
6768
foreach (string folder in excludedFolders)
6869
{
69-
if (path.ToLower().Contains(folder.ToLower()))
70+
if (path.Contains(folder, StringComparison.InvariantCultureIgnoreCase))
7071
{
7172
return true;
7273
}

Assets/Samples/InGameHints/InGameHintsActions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//------------------------------------------------------------------------------
22
// <auto-generated>
33
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
4-
// version 1.14.0
4+
// version 1.14.1
55
// from Assets/Samples/InGameHints/InGameHintsActions.inputactions
66
//
77
// Changes to this file may cause incorrect behavior and will be lost if

0 commit comments

Comments
 (0)