mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
CI: ubuntu.yml: Skip user ground id test on ppc64le and s390x
This is a temporary workaround.
This commit is contained in:
parent
05b654b43f
commit
9fa87a6688
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ubuntu.yml
vendored
11
.github/workflows/ubuntu.yml
vendored
|
@ -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}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue