Skip to content

Commit b1f6646

Browse files
authored
Merge pull request #4127 from apostasie/fix-bash
[PRIORITY] [CI]: Fix EL8 tests execution
2 parents d2b3963 + aa03626 commit b1f6646

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -489,20 +489,20 @@ jobs:
489489
# This might be due to the old kernel shipped with Alma (4.18), or something else between centos/docker.
490490
run: |
491491
set -eux
492-
[ "$MODE" = "rootless" ] && {
492+
if [ "$MODE" = "rootless" ]; then
493493
echo "rootless"
494494
docker run -t -v /dev:/dev --rm --privileged test-integration /test-integration-rootless.sh ./hack/test-integration.sh -test.only-flaky=false
495-
} || {
495+
else
496496
echo "rootful"
497497
docker run -t -v /dev:/dev --rm --privileged test-integration ./hack/test-integration.sh -test.only-flaky=false
498-
}
498+
fi
499499
- name: "Run integration tests (flaky)"
500500
run: |
501501
set -eux
502-
[ "$MODE" = "rootless" ] && {
502+
if [ "$MODE" = "rootless" ]; then
503503
echo "rootless"
504504
docker run -t -v /dev:/dev --rm --privileged test-integration /test-integration-rootless.sh ./hack/test-integration.sh -test.only-flaky=true
505-
} || {
505+
else
506506
echo "rootful"
507507
docker run -t -v /dev:/dev --rm --privileged test-integration ./hack/test-integration.sh -test.only-flaky=true
508-
}
508+
fi

0 commit comments

Comments
 (0)