diff options
author | Remi Collet <remi@remirepo.net> | 2021-09-10 15:14:31 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-09-10 15:14:31 +0200 |
commit | fedee1f311abc7f99158b6f161d2aa99f1f66de2 (patch) | |
tree | 6c9e401f5f555dfe07bf634b30a53843c679efe2 /integration-tests-check.php | |
parent | 9e21b6e42274425900db59f748f1721b884cf297 (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.php | 11 |
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'); |