Skip to content

Commit 8723425

Browse files
authored
Merge pull request #6183 from trws/mismatch
CI: ignore merge errors and increase parallelism
2 parents 8e1fcf5 + 5b672cd commit 8723425

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ CODE_COVERAGE_IGNORE_PATTERN = \
3636
"*/common/libccan/*" \
3737
"*/common/libmissing/*"
3838

39+
# ignore lcov errors to avoid merge mismatch issue since lcov < 2 doesn't offer
40+
# an option to just ignore this error, we use this env var to ignore all, see:
41+
# https://github.com/flux-framework/flux-core/issues/6078
42+
export GCOV_ERROR_FILE=/dev/null
3943
CODE_COVERAGE_LCOV_OPTIONS =
4044
@CODE_COVERAGE_RULES@
4145

src/test/checks_run.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,10 @@ if test "$RECHECK" = "t" -a $RC -ne 0; then
241241
# under ./t were run (and presumably failed)
242242
#
243243
if test -s t/t0000-sharness.trs; then
244-
cd t
245244
printf "::warning::make check failed, trying recheck in ./t\n"
246-
checks_group "make recheck" ${MAKE} -j ${JOBS} recheck && \
245+
(cd t ; checks_group "make recheck" ${MAKE} -j ${JOBS} recheck) && \
247246
checks_group "${POSTCHECKCMDS}" "${POSTCHECKCMDS}"
248247
RC=$?
249-
cd
250248
else
251249
printf "::warning::recheck requested but no tests in ./t were run\n"
252250
fi

src/test/docker/alpine/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ ENV LANG=C.UTF-8
6060
COPY scripts/fetch-and-build-catch.sh /fetch-and-build-catch.sh
6161
RUN /fetch-and-build-catch.sh
6262

63+
# Install caliper by hand for now:
64+
COPY scripts/fetch-and-build-caliper.sh /fetch-and-build-caliper.sh
65+
RUN /fetch-and-build-caliper.sh
66+

src/test/generate-matrix.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def add_build(
8383
name=None,
8484
image="fedora40",
8585
args=default_args,
86-
jobs=4,
86+
jobs=6,
8787
env=None,
8888
docker_tag=False,
8989
test_s3=False,
@@ -293,7 +293,6 @@ def __str__(self):
293293
image="bookworm",
294294
coverage_flags="ci-basic",
295295
coverage=True,
296-
jobs=4,
297296
args="--with-flux-security --enable-caliper",
298297
)
299298

@@ -311,7 +310,6 @@ def __str__(self):
311310
coverage_flags="ci-system",
312311
image="el8",
313312
coverage=True,
314-
jobs=4,
315313
command_args="--system",
316314
args="--with-flux-security --enable-caliper",
317315
)

0 commit comments

Comments
 (0)