{% metadata_file .yamato/environments.yml %} --- {% for variant in package_variants %} pack_{{ variant.name }}: name: Pack {{variant.name}} package agent: type: Unity::VM image: package-ci/win10:stable flavor: b1.large commands: - git submodule update --init --recursive - npm install upm-ci-utils -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm - upm-ci package pack --package-path ./com.unity.perception/ artifacts: packages: paths: - "upm-ci~/packages/**/*" {% endfor %} {% for variant in package_variants %} {% for editor in test_editors %} {% for platform in test_platforms %} pkg_test_{{variant.name}}_{{ platform.name }}_{{ editor.version }}: name : Package tests ({{variant.name}} pkg, {{ editor.version }}, {{ platform.name }}) agent: type: {{ platform.type }} image: {{ platform.image }} flavor: {{ platform.flavor}} commands: - git submodule update --init --recursive - npm install upm-ci-utils -g --registry {{ upmci_registry }} - upm-ci package test -u {{ editor.version }} --package-path ./com.unity.perception --type vetting-tests artifacts: logs: paths: - "upm-ci~/test-results/**/*" dependencies: - .yamato/upm-ci-full.yml#pack_{{ variant.name }} {% endfor %} {% endfor %} {% endfor %} test_trigger: name: All Tests agent: type: Unity::VM image: package-ci/win10:stable flavor: b1.small commands: - dir triggers: branches: only: - "/.*/" recurring: - branch: master frequency: daily # Should run between midnight and 6AM UTC artifacts: logs: paths: - "upm-ci~/test-results/**/*" packages: paths: - "upm-ci~/packages/**/*" dependencies: {% for variant in package_variants %} {% for editor in test_editors %} {% for platform in test_platforms %} - .yamato/upm-ci-full.yml#pkg_test_{{variant.name}}_{{platform.name}}_{{editor.version}} {% endfor %} {% endfor %} {% endfor %} # Disabling trigger of standalone tests which aren't working at the moment {% for editor in test_editors %} - .yamato/upm-ci-testprojects.yml#codecoverage_windows_editmode_{{editor.version}} {% for project in projects %} - .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_standalone_{{editor.version}} - .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_standalone_{{editor.version}} - .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_editmode_{{editor.version}} - .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_editmode_{{editor.version}} {% endfor %} {% endfor %}