Skip to content

Commit 3e1aaa5

Browse files
committed
disable backward compatibility test, bump communication version.
1 parent 249ae49 commit 3e1aaa5

File tree

3 files changed

+48
-46
lines changed

3 files changed

+48
-46
lines changed

.yamato/training-int-tests.yml

Lines changed: 46 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,46 @@
1-
test_editors:
2-
- version: 2018.4
3-
- version: 2019.3
4-
---
5-
{% for editor in test_editors %}
6-
test_mac_training_int_{{ editor.version }}:
7-
name: Test Mac Fast Training {{ editor.version }}
8-
agent:
9-
type: Unity::VM::osx
10-
image: ml-agents/ml-agents-bokken-mac:0.1.4-492264
11-
flavor: b1.small
12-
variables:
13-
UNITY_VERSION: {{ editor.version }}
14-
commands:
15-
- pip install pyyaml
16-
- python -u -m ml-agents.tests.yamato.training_int_tests
17-
# Backwards-compatibility tests.
18-
# If we make a breaking change to the communication protocol, these will need
19-
# to be disabled until the next release.
20-
- python -u -m ml-agents.tests.yamato.training_int_tests --python=0.15.0
21-
- python -u -m ml-agents.tests.yamato.training_int_tests --csharp=0.15.0
22-
dependencies:
23-
- .yamato/standalone-build-test.yml#test_mac_standalone_{{ editor.version }}
24-
triggers:
25-
cancel_old_ci: true
26-
changes:
27-
only:
28-
- "com.unity.ml-agents/**"
29-
- "Project/**"
30-
- "ml-agents/**"
31-
- "ml-agents-envs/**"
32-
- ".yamato/training-int-tests.yml"
33-
except:
34-
- "*.md"
35-
- "com.unity.ml-agents/*.md"
36-
- "com.unity.ml-agents/**/*.md"
37-
artifacts:
38-
logs:
39-
paths:
40-
- "artifacts/standalone_build.txt"
41-
standalonebuild:
42-
paths:
43-
- "artifacts/testplayer*/**"
44-
{% endfor %}
1+
# Disabled on 08 April, 2020 due to breaking changes.
2+
# Re-enable this test after the next release.
3+
#test_editors:
4+
# - version: 2018.4
5+
# - version: 2019.3
6+
#---
7+
#{% for editor in test_editors %}
8+
#test_mac_training_int_{{ editor.version }}:
9+
# name: Test Mac Fast Training {{ editor.version }}
10+
# agent:
11+
# type: Unity::VM::osx
12+
# image: ml-agents/ml-agents-bokken-mac:0.1.4-492264
13+
# flavor: b1.small
14+
# variables:
15+
# UNITY_VERSION: {{ editor.version }}
16+
# commands:
17+
# - pip install pyyaml
18+
# - python -u -m ml-agents.tests.yamato.training_int_tests
19+
# # Backwards-compatibility tests.
20+
# # If we make a breaking change to the communication protocol, these will need
21+
# # to be disabled until the next release.
22+
# - python -u -m ml-agents.tests.yamato.training_int_tests --python=0.16.0
23+
# - python -u -m ml-agents.tests.yamato.training_int_tests --csharp=0.16.0
24+
# dependencies:
25+
# - .yamato/standalone-build-test.yml#test_mac_standalone_{{ editor.version }}
26+
# triggers:
27+
# cancel_old_ci: true
28+
# changes:
29+
# only:
30+
# - "com.unity.ml-agents/**"
31+
# - "Project/**"
32+
# - "ml-agents/**"
33+
# - "ml-agents-envs/**"
34+
# - ".yamato/training-int-tests.yml"
35+
# except:
36+
# - "*.md"
37+
# - "com.unity.ml-agents/*.md"
38+
# - "com.unity.ml-agents/**/*.md"
39+
# artifacts:
40+
# logs:
41+
# paths:
42+
# - "artifacts/standalone_build.txt"
43+
# standalonebuild:
44+
# paths:
45+
# - "artifacts/testplayer*/**"
46+
#{% endfor %}

com.unity.ml-agents/Runtime/Academy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class Academy : IDisposable
5858
/// on each side, although we may allow some flexibility in the future.
5959
/// This should be incremented whenever a change is made to the communication protocol.
6060
/// </summary>
61-
const string k_ApiVersion = "0.15.0";
61+
const string k_ApiVersion = "0.16.0";
6262

6363
/// <summary>
6464
/// Unity package version of com.unity.ml-agents.

ml-agents-envs/mlagents_envs/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class UnityEnvironment(BaseEnv):
5858
# Currently we require strict equality between the communication protocol
5959
# on each side, although we may allow some flexibility in the future.
6060
# This should be incremented whenever a change is made to the communication protocol.
61-
API_VERSION = "0.15.0"
61+
API_VERSION = "0.16.0"
6262

6363
# Default port that the editor listens on. If an environment executable
6464
# isn't specified, this port will be used.

0 commit comments

Comments
 (0)