Always declared gems that are test failures on Windows to allowed failures list

This commit is contained in:
Hiroshi SHIBATA 2024-11-28 14:27:56 +09:00
parent 03d9dfa60c
commit 84bf0b3774
Notes: git 2024-11-28 05:57:06 +00:00
2 changed files with 4 additions and 3 deletions

View File

@ -180,8 +180,6 @@ jobs:
- run: nmake test-bundled-gems
timeout-minutes: 30
env:
TEST_BUNDLED_GEMS_ALLOW_FAILURES: 'net-imap,net-smtp,debug,rbs,typeprof'
if: ${{ matrix.test_task == 'test-bundled-gems' }}
- name: Set up Launchable

View File

@ -9,7 +9,10 @@ ENV.delete("GNUMAKEFLAGS")
github_actions = ENV["GITHUB_ACTIONS"] == "true"
allowed_failures = ENV['TEST_BUNDLED_GEMS_ALLOW_FAILURES'] || ''
allowed_failures = allowed_failures.split(',').reject(&:empty?)
if RUBY_PLATFORM =~ /mswin|mingw/
allowed_failures = [allowed_failures, "net-imap,net-smtp,rbs,typeprof,debug"].join(',')
end
allowed_failures = allowed_failures.split(',').uniq.reject(&:empty?)
# make test-bundled-gems BUNDLED_GEMS=gem1,gem2,gem3
bundled_gems = ARGV.first || ''