Граф коммитов

104 Коммитов

Автор SHA1 Сообщение Дата
Chris Elion 59d3626fe1
[CI] move as much as possible to linux (#4767) 2021-01-04 15:35:08 -08:00
Chris Elion 1e7c82421d
Add upmNoDefaultPackages in CI (#4736) 2020-12-22 19:16:06 -08:00
Chris Elion 5a70377727 brew no update 2020-12-22 10:40:10 -08:00
Chris Elion 5e7ab5bc54 try brew again 2020-12-22 10:15:26 -08:00
Chris Elion 68bdfae9a4 stock image, nuget installed (I hope) 2020-12-22 10:01:50 -08:00
Chris Elion da699f4b31
skip code coverage on trunk temporarily (#4673) 2020-11-19 11:38:34 -08:00
Chris Elion 65644d1f7b
update barracuda version, enable tests for 2020.2 (#4571)
* update barracuda version, enable tests for 2020.2
* changelog
* variable backcompat version
* sync to tagged version of extensions
2020-10-20 10:57:19 -07:00
Ruo-Ping Dong 28697808a7 Merge branch 'master' into r8_merge_to_master 2020-10-14 16:29:45 -07:00
Chris Elion 223ecaf07b
[release 8] fix promotion job dependencies (#4567)
* fix promotion job dependencies

* fix package name
2020-10-14 14:04:34 -07:00
Chris Elion e9644327cf
Update yamato promotion job from templatee (#4566) 2020-10-14 12:54:58 -07:00
Chris Elion 2dcfebdb49
[CI] use downloader, update versions (#4562) 2020-10-13 14:56:37 -07:00
Vincent-Pierre BERGES f744302130
[Test] Make tests to compare compressed and non-compressed obs (#4547)
* Move folders around

* [Make tests to compare compressed and non-compressed obs
> Make `Utilities.TextureToTensorProxy` public (debatable)
> GridSensor can now be compressed or uncompressed
> Added 2 scenes and an integration test to make sure compressed and uncompressed obs are the same

* fix typo

* renaming file so pytest will not try to run it

* rename yamato config file

* Need standalone build for 2019.4

* Running only on 2018.4 since it seems to be the only version thhat can build

* Typo in the name of the testing script

* Renaming the scene
So this is funny Python bug but
`a.strip(".unity")` will remove the last letter of `a` (before the .unity) if the last letter is "t"
not kidding, try :
```
a = "fewgfwegwrgvrt.unity"
a.strip(".unity")
```

* using splitext rather than strip to find executable name`

* Rename and move TextureToTensor

* Addressing comments

* reverting build test to 2019.3

* Add more versions for yamato testing

* Need to make the texture readable and uncompressed

* Make Empty texture black

* Using SetPixels rather than setting individual pixels

* Moved back the SharedAssets folder into Examples since some examples use Shared assets scripts.

* More yamato tests

* Not building 2020.1 anymore as it does not work on yamato
2020-10-12 09:14:47 -07:00
Ruo-Ping (Rachel) Dong 23c1ffc3f1
Clean up AcademyFixedUpdateStepper when playmode changed (#4532)
* Destroy stepper when playmode change

* Detroy stepper if it does not belong to the current Academy

Co-authored-by: Chris Elion <chris.elion@unity3d.com>
2020-10-07 10:34:16 -07:00
Chris Elion 393808b505
update tests to run on 2019.4 (#4451) 2020-09-04 10:33:38 -07:00
Chris Elion ced640ce2c
rerun upm tests for sporadic failures (#4437) 2020-09-02 15:28:16 -07:00
Chris Elion 25f7405b38
add --upgrade to pip to get newer downloader (#4338) 2020-08-11 18:20:45 -07:00
Chris Elion 39de5bc683
Pass artifactory url for all pip calls in yamato (#4282)
* pass artifactory url for all pip calls in yamato

* pip proto generation libs

* undo pyupgrade on generated code
2020-07-29 11:59:32 -07:00
Chris Elion 2af67f5e67
pip url fix (#4278)
* pip url fix

* Update url

* Update com.unity.ml-agents-test.yml
2020-07-28 14:00:42 -07:00
Chris Elion b0be09a0e7
fix artifactory url (#4246) 2020-07-17 11:25:52 -07:00
Chris Elion 5211bbf2c0
Run code coverage for extensions package (#4243)
* run code coverage for extensions package
* reasonable coverage pct
2020-07-17 10:25:45 -07:00
Chris Elion 536fbaf107
Run coverage checks with python3 (#4245) 2020-07-17 10:10:57 -07:00
Chris Elion 8327ddcb2a
Revert "use old yamato test config" (#4233)
* Revert "use old yamato test config (#4231)"

This reverts commit e5e21dcc2a.

* Apply changes from #4232
2020-07-15 13:54:24 -07:00
Chris Elion e5e21dcc2a
use old yamato test config (#4231) 2020-07-15 11:24:24 -07:00
Chris Elion 582bd1bde7
fix job deps (#4230) 2020-07-15 10:34:04 -07:00
Chris Elion e16f3645ff
Fix extension package tests (#4189) 2020-07-02 16:35:04 -07:00
Chris Elion 6b984614ea
Yamato inference tests (#4066)
* better errors for missing constants

* run inference in yamato after training

* add extension

* debug subprocess args

* fix exe path

* search for executable

* fix dumb bug

* -batchmode

* fail if inference fails

* install tf2onnx on yamato

* allow onnx for overrides (expect to fail now)

* enable logs

* fix commandline arg

* catch exception from SetModel and exit

* cleanup error message

* model artifacts, logs as artifacts, fix pip

* don't run onnx

* cleanup and comment

* update extension handling
2020-06-25 14:48:34 -07:00
Chris Elion 9c1204a340
[MLA-1009] observable performance tests (#4031)
* WIP perf tests

* WIP perf test

* add marker tests too

* move to devproject

* yamato first pass

* chmod

* fix trigger, fix meta files

* fix utr command

* fix artifact paths

* Update com.unity.ml-agents-performance.yml

* test properties, reduce some noise

* timer around RequestDecision

* actually set ObservableAttributeHandling

* undo asmdef changes
2020-06-25 13:50:55 -07:00
Chris Elion c1a8608d8b
ML-Agents Extensions package (#4105)
* extensions package first pass

* add extensions test to yamato

* cleanup docs folder

* triggers and pack

* yamato - different jobs for each package

* disable coverage checks for extensions

* trigger

* Unity Companion License
2020-06-12 15:56:32 -07:00
Chris Goy 9c928ef295
Update yamato triggers to use expressions. (#3556) 2020-05-07 15:35:10 -07:00
Chris Elion 3e4dd5bc0f re-enable backwards compat tests 2020-05-04 09:39:57 -07:00
Chris Goy 25838f3652
Only run mac package tests per commit, run all platforms nightly. (#3840) 2020-04-24 11:23:50 -07:00
Chris Goy d7f756907a
Add publish and promotion jobs for creating our c# package. Cleanup job definitions. (#3820) 2020-04-24 10:49:21 -07:00
Chris Elion 52b7d2e094
update upm-ci-utils source (#3811) 2020-04-20 12:20:45 -07:00
Vincent-Pierre BERGES bb90cf2fa5
[MLA-867] New integration tests for gym and llapi (#3757)
* [MLA-867] New integration tests for gym and llapi

* Fixing the command line argument in the test

* Fixing a bug that was blocking basic for ever

* Fixing typo
2020-04-09 10:21:01 -07:00
Chris Goy fa0b4be07d
Make the DecisionRequester public and customizable. (#3716)
* [API] Make the DecisionRequester public and add a delegate to its API to allow users to customize it's behavior.

- Rename Academy.AgentSetStatus to Academy.AgentPreStep and make it public.
- Fix Unity library cache issues for backwards compatibility tests.
- Collect standalone build and logs to artifacts for standalone build jobs.
- cat standalone build log if the build fails.
- Default verbose to False for standalone build test.

* disable backward compatibility test, bump communication version.

* still run training tests on latest.

* fix yml parse error.
2020-04-08 12:26:59 -07:00
Vincent-Pierre BERGES 8ad72c08d7
Testing gym with basic environment (#3725)
* Trying to build a specific environment

* forgot to replace one testPlayer

* reverting 3DBall to default

* removed the multi-agent test and replaced it with a single agent test

* forgot to add this file...
2020-04-03 15:40:02 -07:00
Chris Elion 81ad0b8b26
LL-API and gym yamato tests (#3714)
* LL-API and gym yamato tests

* log env to stdout

* no_graphics=True

* rename

* break venv into separate command

* simplify venv usage, add env as command line

* fix venv path
2020-04-01 15:10:37 -07:00
Chris Elion ada78a39c1
reuse built player in CI tests (#3709)
* reuse built player in training tests

* cleanup backcompat path

* verbose

* move exe directories instead

* don't build in verbose mode
2020-03-31 10:59:26 -07:00
Chris Elion 48bb6b8cc6
Test against older python and C# versions (#3689) 2020-03-27 11:30:20 -07:00
Chris Elion c7b8b46c8d
cancel old CI (#3649) 2020-03-18 12:50:53 -07:00
Chris Elion 811825b898
enforce min coverage % (#3642) 2020-03-16 15:41:08 -07:00
Chris Elion ea28ffa0cc
enable code coverage in Yamato (#3633) 2020-03-13 17:35:02 -07:00
Chris Goy 7caa4e6667
Move protobuf generation tests to yamato. (#3506) 2020-02-26 14:38:53 -08:00
Chris Goy 7e02d51c9e
[yamato] Use triggers to execute tests for specific changes. (#3439) 2020-02-13 21:57:47 -08:00
Chris Elion c493e3f2a2
Run training in yamato for a few steps (#3244) 2020-01-29 16:06:10 -08:00
Chris Goy a22b62f774
Create ML-Agents Package (#3267)
Convert the UnitySDK to a Packman Package.

- Separate Examples into a sample project.
- Move core UnitySDK Code into com.unity.ml-agents.
- Create asmdefs for the ml-agents package.
- Add package validation tests for win/linux/max.
- Update protobuf generation scripts.
- Add Barracuda as a package dependency for ML-Agents. (users no longer have to install it themselves).
2020-01-28 10:35:29 -08:00
Chris Elion ea1b435a29
convert yamato tests to python (#3239)
* convert edit mode test runner to python

* unbuffered, strip slash in dir

* cleanup

* try to get artifacts

* parse xml instead of magic shell commands

* always copy results.xml

* convert standalone-build-test to python

* run as module

* os.getcwd()
2020-01-16 14:15:49 -08:00
Chris Goy fb7afbb127
Bump the official supported Unity version to 18.4. Fixes MLA-23 (#3121) 2019-12-23 15:38:18 -08:00
Chris Goy 3ca1113e1f
[yamato] Set triggers for any PR against a target branch. (#2848) 2019-11-04 11:24:46 -08:00
Chris Goy c2993aef23
Use image ref instead of tags so we don't need to have different image tags for master/develop. (#2834) 2019-10-31 12:57:01 -07:00
Chris Elion 7fcf62383d
Merge 0.11.0 to develop (#2825)
* Update package and communicator versions to 0.11

* Remove pip cache fallback for CircleCI

This change removes the caching fallback in the case where dependencies
change, since it can cause CI failures when we have incompatible
dependencies in the cache.

* Limit Tensorflow version for tests to <2.0

* Use stable bokken image. (#2815)

* build fixes for 2018+ (#2808)

* rename CompressionType enum

* fix standalone build test for 2018+

* Add more editor versions for testing. (#2809)

* class variable for API verison, fix env tests (#2817)

* fixed area prefab

agents were pointing to the wrong laser gameObject.
2019-10-30 10:44:49 -07:00
Chris Goy 71ccc35044
Switch to a stable tag on our bokken image. (#2799) 2019-10-25 10:50:05 -07:00
Chris Goy 607af33183
Add a standalone build test pipeline to Yamato to check for player script compilation errors. (#2779) 2019-10-22 17:11:33 -07:00
Chris Goy 0b8a088e5a
Add a Yamato pipeline to run C# editmode tests. (#2773) 2019-10-22 16:12:06 -07:00