Skip to content

Commit 02f8e6b

Browse files
committed
Install latest available integration-testsuite dependencies in CI
1 parent 81bca1a commit 02f8e6b

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.gitlab-ci.plan

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,27 @@ def build_test_gs_edge():
6262

6363

6464
def test_integration_testsuite():
65-
# The two components below have been built by the build job of the CI
65+
# These two components have been built by the build job of the CI, install them.
6666
anod_install("als")
6767
anod_install("vscode-extension", qualifier={"mono-plat": True})
68-
# Install gps component to avoid it getting rebuilt. We are only interested in
69-
# vscode tests in the integration-testsuite, not gps.
70-
anod_install("gps")
68+
69+
# For the following components, we'd like to install with latest=True to be
70+
# resilient to failures in nightly builds.
71+
#
72+
# We need to do this instead of running the whole plan with --latest because
73+
# currently --latest bypasses the local offline Cathod component cache and prevents
74+
# installing components built in the same CI pipeline.
75+
for dep in (
76+
# Install gps component to avoid it getting rebuilt. Here we are only interested
77+
# in vscode tests in the integration-testsuite, not gps.
78+
"gps",
79+
"gnat",
80+
"gnatdas",
81+
"gnatsas",
82+
"spark2014",
83+
):
84+
anod_install(dep, latest=True)
85+
7186
# Run the subset of integration-testsuite that uses VS Code
7287
anod_test(
7388
"integration-testsuite",

0 commit comments

Comments
 (0)