CI: ubuntu.yml: Skip user ground id test on ppc64le and s390x

This is a temporary workaround.
This commit is contained in:
Jun Aruga 2025-08-12 12:32:49 +02:00 committed by Jun Aruga
parent 05b654b43f
commit 9fa87a6688

View file

@ -157,6 +157,17 @@ jobs:
continue-on-error: true continue-on-error: true
timeout-minutes: 3 timeout-minutes: 3
# A temporary workaround: Skip user ground id test
# There is a mismatch between the group IDs of "id -g" and C function
# getpwuid(uid_t uid) pw_gid.
# https://github.com/IBM/actionspz/issues/31
- name: Skip user group id test
run: |
sed -i.orig '/^ it "returns user group id" do/a\ skip' \
../src/spec/ruby/library/etc/struct_passwd_spec.rb
diff -u ../src/spec/ruby/library/etc/struct_passwd_spec.rb{.orig,} || :
if: ${{ endsWith(matrix.os, 'ppc64le') || endsWith(matrix.os, 's390x') }}
- name: make ${{ matrix.test_task }} - name: make ${{ matrix.test_task }}
run: | run: |
test -n "${LAUNCHABLE_STDOUT}" && exec 1> >(tee "${LAUNCHABLE_STDOUT}") test -n "${LAUNCHABLE_STDOUT}" && exec 1> >(tee "${LAUNCHABLE_STDOUT}")