-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Make analytics module an optional dependency. #5109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
346a0bf
Make analytics an optional dep.
surfnerd 7cd1b78
Fix yml.
surfnerd 1ab0abf
Fix yml.
surfnerd 8a953db
Fix yml.
surfnerd 9566752
update changelog.
surfnerd c69b0c0
Fix version. Remove uneeded project settings.
surfnerd 4a0ea68
Update defines, remove project settings from test project.
surfnerd 0e47679
Fix defines.
surfnerd 801af50
Keep defines limited to the analytics package and tests. Compile out…
surfnerd 6c9dabe
Move optional dep tests to their own file.
surfnerd f207cc6
Fix compiler errors, see if adding unity-config cli works.
surfnerd 35dc8ea
make #if more sane.
surfnerd c89e8ac
fix yml.
surfnerd f53c012
update yamato job.
surfnerd 497a5b9
Update com.unity.ml-agents/Runtime/Analytics/InferenceAnalytics.cs
surfnerd 42028cc
Generate project in yamato job to make sure things still work without…
surfnerd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
OptionalDependencyTestsLinux: | ||
name : LinuxOptionalDependenciesTests | ||
agent: | ||
type: Unity::VM | ||
image: package-ci/ubuntu:stable | ||
flavor: b1.medium | ||
commands: | ||
- | | ||
curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add - | ||
sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list" | ||
sudo apt update | ||
sudo apt install -y unity-config | ||
npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm | ||
unity-config settings editor-path ./.Editor | ||
unity-config project create opt-deps-test | ||
unity-config project add dependency com.unity.ml-agents/ | ||
unity-config project add testable com.unity.ml-agents | ||
unity-config project add dependency [email protected] | ||
unity-config project add dependency [email protected] | ||
unity-config project add dependency [email protected] | ||
unity-config project add dependency [email protected] | ||
upm-ci project test -u 2019.4 --type project-tests --project-path opt-deps-test --package-filter com.unity.ml-agents | ||
artifacts: | ||
logs: | ||
paths: | ||
- "upm-ci~/test-results/**/*" | ||
dependencies: | ||
- .yamato/com.unity.ml-agents-pack.yml#pack | ||
triggers: | ||
cancel_old_ci: true | ||
expression: | | ||
(pull_request.target eq "main" OR | ||
pull_request.target match "release.+") AND | ||
NOT pull_request.draft AND | ||
(pull_request.changes.any match "com.unity.ml-agents/**" OR | ||
pull_request.changes.any match ".yamato/com.unity.ml-agents-test.yml") | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,3 +149,4 @@ test_{{ package.name }}_{{ platform.name }}_trunk: | |
{% endfor %} | ||
{% endfor %} | ||
{% endfor %} | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.