summaryrefslogtreecommitdiffstats
path: root/integration-tests-check.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-09-10 15:14:31 +0200
committerRemi Collet <remi@remirepo.net>2021-09-10 15:14:31 +0200
commitfedee1f311abc7f99158b6f161d2aa99f1f66de2 (patch)
tree6c9e401f5f555dfe07bf634b30a53843c679efe2 /integration-tests-check.php
parent9e21b6e42274425900db59f748f1721b884cf297 (diff)
run upstream test suite during the build
(lot of tests are skipped as no configured server)
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');