We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f5c70 commit 993f6c1Copy full SHA for 993f6c1
pkg/rdkafka/.github/workflows/ci.yml
@@ -22,8 +22,8 @@ jobs:
22
php-version: ${{ matrix.php }}
23
coverage: none
24
25
- - run: php Tests/fix_composer_json.php
26
-
27
- uses: "ramsey/composer-install@v1"
+ with: # ext-rdkafka not needed for tests, and a pain to install on CI;
+ composer-options: "--ignore-platform-req=ext-rdkafka"
28
29
- run: vendor/bin/phpunit --exclude-group=functional
pkg/rdkafka/Tests/bootstrap.php
@@ -12,5 +12,8 @@
12
}
13
14
15
+// Pretend that a high version was installed, opposed to 0.8.5 from kwn/php-rdkafka-stubs
16
+const RD_KAFKA_VERSION = 42424242;
17
+
18
include_once $kafkaStubsDir.'/stubs/constants.php';
19
include_once $kafkaStubsDir.'/stubs/functions.php';
pkg/rdkafka/Tests/fix_composer_json.php
0 commit comments