summaryrefslogtreecommitdiffstats
path: root/integration-tests-check.php
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests-check.php')
-rw-r--r--integration-tests-check.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/integration-tests-check.php b/integration-tests-check.php
new file mode 100644
index 0000000..24f5b89
--- /dev/null
+++ b/integration-tests-check.php
@@ -0,0 +1,11 @@
+<?php
+
+if (file_exists(__DIR__ . "/test_env.php")) {
+ include __DIR__ . '/test_env.php';
+}
+
+if (getenv('TEST_KAFKA_BROKERS')) {
+ return;
+}
+
+die('skip due to missing TEST_KAFKA_BROKERS environment & no test_env.php');