Skip to content

Business intelligence made simple

Fixed CI

Andrew Kane6778112633e1
diff --git a/test/anomaly_checks_test.rb b/test/anomaly_checks_test.rb
index ff9ce4ca..cbc97c24 100644
--- a/test/anomaly_checks_test.rb
+++ b/test/anomaly_checks_test.rb
@@ -25,6 +25,8 @@ class AnomalyChecksTest < ActionDispatch::IntegrationTest
end
def assert_anomaly(anomaly_checks)
+ skip unless postgresql?
+
Blazer.stub(:anomaly_checks, anomaly_checks) do
query = create_query(statement: "SELECT current_date + n AS day, 0.1 FROM generate_series(1, 30) n")
check = create_check(query: query, check_type: "anomaly")
diff --git a/test/forecasting_test.rb b/test/forecasting_test.rb
index 2d38952d..433ae13d 100644
--- a/test/forecasting_test.rb
+++ b/test/forecasting_test.rb
@@ -18,6 +18,8 @@ class ForecastingTest < ActionDispatch::IntegrationTest
end
def assert_forecast(forecasting)
+ skip unless postgresql?
+
Blazer.stub(:forecasting, forecasting) do
query = create_query(statement: "SELECT current_date + n AS day, n FROM generate_series(1, 30) n")
run_query query.statement, query_id: query.id, forecast: "t"