forked from ankane/blazer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
24 lines (22 loc) · 617 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require "bundler/gem_tasks"
require "rake/testtask"
task default: :test
Rake::TestTask.new do |t|
t.libs << "test"
t.pattern = "test/*_test.rb"
t.warning = false # mail gem
end
%w(
athena bigquery cassandra drill druid elasticsearch
hive ignite influxdb mysql neo4j opensearch
postgresql presto redshift salesforce snowflake
soda spark sqlite sqlserver
).each do |adapter|
namespace :test do
Rake::TestTask.new(adapter) do |t|
t.description = "Run tests for #{adapter}"
t.test_files = FileList["test/adapters/#{adapter}_test.rb"]
t.warning = false # mail gem
end
end
end