Skip to content

Commit 4b63f1f

Browse files
Made e2e repo first class citizen
1 parent 5bdd408 commit 4b63f1f

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

src/main/java/io/micrometer/release/train/TrainOptions.java

+15-2
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,16 @@ private void parseMicrometer(String[] micrometerVersion, List<ProjectWithDepende
6363
String[] contextPropagationVersion) {
6464
for (int i = 0; i < micrometerVersion.length; i++) {
6565
MicrometerProject micrometer = micrometer(micrometerVersion[i]);
66+
Micrometer micrometerWithDeps;
6667
if (contextPropagationVersion.length > 0) {
67-
projects.add(micrometer.withContextPropagation(contextPropagationVersion[i]));
68+
micrometerWithDeps = micrometer.withContextPropagation(contextPropagationVersion[i]);
69+
projects.add(micrometerWithDeps);
6870
}
6971
else {
70-
projects.add(micrometer.noContextPropagation());
72+
micrometerWithDeps = micrometer.noContextPropagation();
73+
projects.add(micrometerWithDeps);
7174
}
75+
projects.add(new GhActionsTest(micrometerWithDeps));
7276
}
7377
}
7478

@@ -251,6 +255,15 @@ public Micrometer(String version, String contextPropagationVersion) {
251255

252256
}
253257

258+
static class GhActionsTest extends ProjectWithDependencies {
259+
260+
public GhActionsTest(Micrometer micrometer) {
261+
super(new Project(ProjectDefinition.TEST, micrometer.getProject().projectVersion),
262+
micrometer.getDependencies());
263+
}
264+
265+
}
266+
254267
static class TracingProject extends Project {
255268

256269
TracingProject(String version) {

0 commit comments

Comments
 (0)