Skip to content

Business intelligence made simple

Always test anomaly detection

Andrew Kane7edabf6e6085
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6791b61b..fc93e239 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,7 +17,6 @@ jobs:
gemfile: gemfiles/rails70.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
- TEST_ANOMALY_DETECTION: 1
TEST_PROPHET: 1
steps:
- uses: actions/checkout@v4
diff --git a/Gemfile b/Gemfile
index 95042299..da7277a6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -35,6 +35,6 @@ gem "propshaft"
# gem "activerecord-sqlserver-adapter"
# anomaly detection and forecasting
-gem "anomaly_detection" if ENV["TEST_ANOMALY_DETECTION"]
+gem "anomaly_detection"
gem "prophet-rb" if ENV["TEST_PROPHET"]
gem "trend" if ENV["TEST_TREND"]
diff --git a/gemfiles/rails70.gemfile b/gemfiles/rails70.gemfile
index e2c0df12..8d5eb557 100644
--- a/gemfiles/rails70.gemfile
+++ b/gemfiles/rails70.gemfile
@@ -11,5 +11,5 @@ gem "sqlite3", "< 2"
gem "mysql2"
gem "activerecord-trilogy-adapter"
gem "sprockets-rails"
-gem "anomaly_detection" if ENV["TEST_ANOMALY_DETECTION"]
+gem "anomaly_detection"
gem "prophet-rb" if ENV["TEST_PROPHET"]
diff --git a/gemfiles/rails71.gemfile b/gemfiles/rails71.gemfile
index cd13f9c0..dce0944a 100644
--- a/gemfiles/rails71.gemfile
+++ b/gemfiles/rails71.gemfile
@@ -11,5 +11,5 @@ gem "sqlite3"
gem "mysql2"
gem "trilogy"
gem "sprockets-rails"
-gem "anomaly_detection" if ENV["TEST_ANOMALY_DETECTION"]
+gem "anomaly_detection"
gem "prophet-rb" if ENV["TEST_PROPHET"]
diff --git a/gemfiles/rails72.gemfile b/gemfiles/rails72.gemfile
index 97e98754..0193d8cd 100644
--- a/gemfiles/rails72.gemfile
+++ b/gemfiles/rails72.gemfile
@@ -11,5 +11,5 @@ gem "sqlite3"
gem "mysql2"
gem "trilogy"
gem "sprockets-rails"
-gem "anomaly_detection" if ENV["TEST_ANOMALY_DETECTION"]
+gem "anomaly_detection"
gem "prophet-rb" if ENV["TEST_PROPHET"]
diff --git a/test/anomaly_checks_test.rb b/test/anomaly_checks_test.rb
index cbc97c24..cbd0e084 100644
--- a/test/anomaly_checks_test.rb
+++ b/test/anomaly_checks_test.rb
@@ -19,8 +19,6 @@ class AnomalyChecksTest < ActionDispatch::IntegrationTest
end
def test_anomaly_detection
- skip unless ENV["TEST_ANOMALY_DETECTION"]
-
assert_anomaly("anomaly_detection")
end