File tree Expand file tree Collapse file tree 11 files changed +30
-10
lines changed Expand file tree Collapse file tree 11 files changed +30
-10
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ test_coverage_{{ package.name }}_{{ platform.name }}_{{ editor.version }}_{{ edi
1515 - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
1616 - upm-ci project test -u {{ editor.version }} --type project-tests --project-path {{ editor.testProject }} --package-filter {{ package.name }} {{ coverageOptions }} --extra-utr-arg "reruncount=2"
1717 - |
18+ conda activate python3.10
1819 python3 ml-agents/tests/yamato/check_coverage_percent.py upm-ci~/test-results/ {{ package.minCoveragePct }}
1920 artifacts :
2021 logs :
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ test_platforms:
2525 flavor : b1.large
2626 - name : linux
2727 type : Unity::VM
28- image : package-ci /ubuntu-22.04:v4
28+ image : ml-agents /ubuntu-ci:v1.0.0
2929 flavor : b1.large
3030
3131packages :
@@ -126,6 +126,9 @@ test_{{ package.name }}_{{ platform.name }}_{{ editor.version}}_{{ editor.testPr
126126 flavor : {{ platform.flavor}}
127127 commands :
128128 - |
129+ {% if platform.name == "linux" %}
130+ conda activate python3.10
131+ {% endif %}
129132 python -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
130133 unity-downloader-cli -u trunk -c editor --wait --fast
131134 npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
Original file line number Diff line number Diff line change @@ -5,12 +5,14 @@ test_compressed_obs_{{ editor.version }}_{{ editor.extra_test }}:
55 name : Test Compressed Sensor Observation {{ editor.version }} {{ editor.extra_test }}
66 agent :
77 type : Unity::VM
8- image : package-ci /ubuntu-22.04:v4
8+ image : ml-agents /ubuntu-ci:v1.0.0
99 flavor : b1.medium
1010 variables :
1111 UNITY_VERSION : {{ editor.version }}
1212 commands :
1313 - |
14+ eval "$($HOME/anaconda/bin/conda shell.bash hook)"
15+ conda activate python3.10
1416 python -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1517 python -u -m ml-agents.tests.yamato.setup_venv
1618 python ml-agents/tests/yamato/scripts/run_compressed_sensor.py --env=artifacts/testPlayer-TestGridCompressed
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ coverage_test_editors:
55coverage_test_platforms:
66 - name: linux
77 type: Unity::VM
8- image: package-ci /ubuntu-22.04:v4
8+ image: ml-agents /ubuntu-ci:v1.0.0
99 flavor: b1.medium
1010
1111coverage_test_packages:
Original file line number Diff line number Diff line change @@ -5,12 +5,14 @@ test_gym_interface_{{ editor.version }}_{{ editor.extra_test }}:
55 name : Test Linux Gym Interface {{ editor.version }} {{ editor.extra_test }}
66 agent :
77 type : Unity::VM
8- image : package-ci /ubuntu-22.04:v4
8+ image : ml-agents /ubuntu-ci:v1.0.0
99 flavor : b1.medium
1010 variables :
1111 UNITY_VERSION : {{ editor.version }}
1212 commands :
1313 - |
14+ eval "$($HOME/anaconda/bin/conda shell.bash hook)"
15+ conda activate python3.10
1416 python -m pip install wheel --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1517 python -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1618 python -u -m ml-agents.tests.yamato.setup_venv
Original file line number Diff line number Diff line change @@ -2,14 +2,16 @@ test_linux_protobuf_generation:
22 name : Protobuf Generation Tests
33 agent :
44 type : Unity::VM
5- image : package-ci /ubuntu-22.04:v4
5+ image : ml-agents /ubuntu-ci:v1.0.0
66 flavor : b1.large
77 variables :
88 GRPC_VERSION : " 1.14.1"
99 CS_PROTO_PATH : " com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects"
1010 commands :
1111 - |
1212 sudo apt-get update && sudo apt-get install -y nuget
13+ eval "$($HOME/anaconda/bin/conda shell.bash hook)"
14+ conda activate python3.10
1315 nuget install Grpc.Tools -Version $GRPC_VERSION -OutputDirectory protobuf-definitions/
1416 python3 -m pip install --upgrade pip --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1517 python3 -m pip install grpcio==1.48.2 grpcio-tools==1.48.2 protobuf==3.19.6 six==1.16.0 mypy-protobuf==1.16.0 --progress-bar=off --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ pytest_gpu:
22 name : Pytest GPU
33 agent :
44 type : Unity::VM::GPU
5- image : package-ci /ubuntu-22.04:v4
5+ image : ml-agents /ubuntu-ci:v1.0.0
66 flavor : b1.large
77 commands :
88 - |
9+ eval "$($HOME/anaconda/bin/conda shell.bash hook)"
10+ conda activate python3.10
911 python3 -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1012 python3 -u -m ml-agents.tests.yamato.setup_venv
1113 python3 -m pip install --progress-bar=off -r test_requirements.txt --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
Original file line number Diff line number Diff line change @@ -5,12 +5,14 @@ test_linux_ll_api_{{ editor.version }}_{{ editor.extra_test }}:
55 name : Test Linux LL-API {{ editor.version }} {{ editor.extra_test }}
66 agent :
77 type : Unity::VM
8- image : package-ci /ubuntu-22.04:v4
8+ image : ml-agents /ubuntu-ci:v1.0.0
99 flavor : b1.medium
1010 variables :
1111 UNITY_VERSION : {{ editor.version }}
1212 commands :
1313 - |
14+ eval "$($HOME/anaconda/bin/conda shell.bash hook)"
15+ conda activate python3.10
1416 python -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1517 python -u -m ml-agents.tests.yamato.setup_venv
1618 python ml-agents/tests/yamato/scripts/run_llapi.py
Original file line number Diff line number Diff line change @@ -5,12 +5,14 @@ test_linux_standalone_{{ editor.version }}_{{ editor.extra_test }}:
55 name : Test Linux Standalone {{ editor.version }} {{ editor.extra_test }}
66 agent :
77 type : Unity::VM
8- image : package-ci /ubuntu-22.04:v4
8+ image : ml-agents /ubuntu-ci:v1.0.0
99 flavor : b1.large
1010 variables :
1111 UNITY_VERSION : {{ editor.version }}
1212 commands :
1313 - |
14+ eval "$($HOME/anaconda/bin/conda shell.bash hook)"
15+ conda activate python3.10
1416 python3 -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1517 python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
1618 unity-downloader-cli -u {{ editor.version }} -c editor --wait --fast
Original file line number Diff line number Diff line change @@ -3,12 +3,14 @@ test_webgl_standalone_{{ editor_version }}:
33 name : Test WebGL Standalone {{ editor_version }}
44 agent :
55 type : Unity::VM
6- image : package-ci /ubuntu-22.04:v4
6+ image : ml-agents /ubuntu-ci:v1.0.0
77 flavor : b1.large
88 variables :
99 UNITY_VERSION : {{ editor_version }}
1010 commands :
1111 - |
12+ eval "$($HOME/anaconda/bin/conda shell.bash hook)"
13+ conda activate python3.10
1214 python -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1315 python -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
1416 unity-downloader-cli -u {{ editor_version }} -c editor -c WebGL --wait --fast
You can’t perform that action at this time.
0 commit comments