Skip to content

Commit 481c159

Browse files
committed
Code Coverage test with upm-pvp
1 parent 54d7a99 commit 481c159

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
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 & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,4 @@ package_pack_-_ngo_{{ platform.name }}:
2525
packages:
2626
paths:
2727
- "upm-ci~/**"
28-
{% endfor -%}
29-
30-
# This is in essence the same job as the one above with the difference that upm-ci is used instead of upm-pvp
31-
# 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
32-
# 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)
33-
# TODO: remove this job and utilize the above one for Code Coverage job. This is tracked in MTT-11383
34-
{% for platform in test_platforms.default -%}
35-
{% for project in projects.default -%}
36-
package_pack_-_ngo_{{ platform.name }}_upmCI:
37-
name: Package Pack (legacy upm-ci) - NGO [{{ platform.name }}]
38-
agent:
39-
type: {{ platform.type }}
40-
image: {{ platform.image }}
41-
flavor: {{ platform.flavor }}
42-
timeout: 0.25
43-
commands:
44-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
45-
- upm-ci project pack --project-path {{ project.path }}
46-
artifacts:
47-
packages:
48-
paths:
49-
- "upm-ci~/packages/**/*"
50-
{% endfor -%}
5128
{% endfor -%}

0 commit comments

Comments
 (0)