test_editors: - version: 2019.3 --- {% for editor in test_editors %} test_gym_interface_{{ editor.version }}: name: Test Mac Gym Interface {{ editor.version }} agent: type: Unity::VM::osx image: ml-agents/ml-agents-bokken-mac:0.1.4-492264 flavor: b1.small variables: UNITY_VERSION: {{ editor.version }} commands: - pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple - python -u -m ml-agents.tests.yamato.setup_venv - ./venv/bin/python ml-agents/tests/yamato/scripts/run_gym.py --env=artifacts/testPlayer-Basic dependencies: - .yamato/standalone-build-test.yml#test_mac_standalone_{{ editor.version }} 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 "Project/**" OR pull_request.changes.any match "ml-agents/**" OR pull_request.changes.any match "ml-agents-envs/**" OR pull_request.changes.any match "gym-unity/**" OR pull_request.changes.any match ".yamato/gym-interface-test.yml") AND NOT pull_request.changes.all match "**/*.md" {% endfor %}