Skip to content

Commit 9fa87a6

Browse files
committed
CI: ubuntu.yml: Skip user ground id test on ppc64le and s390x
This is a temporary workaround.
1 parent 05b654b commit 9fa87a6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ubuntu.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,17 @@ jobs:
157157
continue-on-error: true
158158
timeout-minutes: 3
159159

160+
# A temporary workaround: Skip user ground id test
161+
# There is a mismatch between the group IDs of "id -g" and C function
162+
# getpwuid(uid_t uid) pw_gid.
163+
# https://github.com/IBM/actionspz/issues/31
164+
- name: Skip user group id test
165+
run: |
166+
sed -i.orig '/^ it "returns user group id" do/a\ skip' \
167+
../src/spec/ruby/library/etc/struct_passwd_spec.rb
168+
diff -u ../src/spec/ruby/library/etc/struct_passwd_spec.rb{.orig,} || :
169+
if: ${{ endsWith(matrix.os, 'ppc64le') || endsWith(matrix.os, 's390x') }}
170+
160171
- name: make ${{ matrix.test_task }}
161172
run: |
162173
test -n "${LAUNCHABLE_STDOUT}" && exec 1> >(tee "${LAUNCHABLE_STDOUT}")

0 commit comments

Comments
 (0)