Skip to content

Commit 92bc678

Browse files
committed
Code Coverage test with upm-pvp
1 parent c238ad0 commit 92bc678

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

.yamato/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ code_coverage_{{ platform.name }}_{{ editor }}:
2323
- "upm-ci~/test-results/**/*"
2424
- "upm-ci~/test-results/CoverageResults/**/*"
2525
dependencies:
26-
- .yamato/package-pack.yml#package_pack_-_ngo_{{ platform.name }}_upmCI
26+
- .yamato/package-pack.yml#package_pack_-_ngo_{{ platform.name }}
2727
{% endfor -%}
2828
{% endfor -%}

.yamato/package-pack.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,4 @@ package_pack_-_ngo_{{ platform.name }}:
2525
packages:
2626
paths:
2727
- "upm-ci~/**"
28-
{% endfor -%}
29-
30-
31-
# This is in essence the same job as the one above with the difference that upm-ci is used instead of upm-pvp
32-
# The reason for using it is that I had some problems with Code Coverage which in its current form uses upm-ci but if we would use the other pack job (the one above) we would need to use upm-pvp
33-
# I had some problems with getting it to work so as temporary solution I created this pack job which is used ONLY as a dependency of Code Coverage job (other jobs use the above definition of pack job)
34-
# TODO: remove this job and utilize the above one for Code Coverage job. This is tracked in MTT-11383
35-
{% for platform in test_platforms.default -%}
36-
{% for project in projects.default -%}
37-
package_pack_-_ngo_{{ platform.name }}_upmCI:
38-
name: Package Pack (legacy upm-ci) - NGO [{{ platform.name }}]
39-
agent:
40-
type: {{ platform.type }}
41-
image: {{ platform.image }}
42-
flavor: {{ platform.flavor }}
43-
timeout: 0.25
44-
commands:
45-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
46-
- upm-ci project pack --project-path {{ project.path }}
47-
artifacts:
48-
packages:
49-
paths:
50-
- "upm-ci~/packages/**/*"
51-
{% endfor -%}
5228
{% endfor -%}

0 commit comments

Comments
 (0)