Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
bundler-cache: true
- name: Run tests
run: bin/ci
continue-on-error: ${{ matrix.ruby == 'truffleruby-head' }}
lint:
runs-on: ubuntu-latest
steps:
Expand Down
9 changes: 8 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,19 @@ task default: %i[test rubocop]
begin
fork { nil }
rescue NotImplementedError
# jruby and windows can't fork so use vanilla rake instead
# jruby, truffleruby, and windows can't fork so use vanilla rake instead
warn 'warn: fork is not implemented on this Ruby, falling back to vanilla rake'
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = FileList['test/test_*.rb']
t.verbose = true
end
else
desc 'Run each test in isolation'
task :test do
sh 'forking-test-runner test/test_* --helper test/helper.rb --verbose'
end
end

RuboCop::RakeTask.new