summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-08 18:05:15 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-08 18:33:41 +0900
commit395738e8a5a14d432d17a9fe106f62f54a81c7aa (patch)
tree950d204c5f9c83ccc6ef936784666bec76399eca /.github
parenta64f7e9c0077c970c184f98f67094202a41e02cf (diff)
Separate TestReadline#test_interrupt_in_other_thread
This method is already known to fail on Travis-CI arm32-linux.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ubuntu.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 0c41af302e..cbd228ca43 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -24,6 +24,7 @@ jobs:
- test_task: "check"
os: ubuntu-20.04
configure: "--host=i686-$OSTYPE"
+ skipped_tests: TestReadline#test_interrupt_in_other_thread
- test_task: "test-all TESTS=--repeat-count=2"
os: ubuntu-20.04
configure: ""
@@ -84,7 +85,17 @@ jobs:
run: |
$SETARCH ./miniruby -e '(("a".."z").to_a+("A".."Z").to_a+("0".."9").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}'
if: ${{ matrix.test_task == 'check' }}
- - run: $SETARCH make -s ${{ matrix.test_task }}
+ - name: make ${{ matrix.test_task }}
+ run: |
+ if [ ${{ matrix.test_task }} = 'check' ]; then
+ TESTS=`echo "${{ matrix.skipped_tests }}" | sed 's| |$/ -n!/|g;s|^|-n!/|;s|$|$/|'`
+ fi
+ $SETARCH make -s ${{ matrix.test_task }} ${TESTS:+TESTS="$TESTS"}
+ if [ ${{ matrix.test_task }} = 'check' -a "${TESTS:+set}" ]; then
+ TESTS=`echo "${{ matrix.skipped_tests }}" | sed 's| |$/ -n/|g;s|^|-n/|;s|$|$/|'`
+ unset GNUMAKEFLAGS
+ $SETARCH make -s test-all TESTS="$TESTS"
+ fi
timeout-minutes: 40
env:
RUBY_TESTOPTS: "-q --tty=no"