diff --git a/.github/workflows/version-test.yml b/.github/workflows/version-test.yml index 23e9eff..5665506 100644 --- a/.github/workflows/version-test.yml +++ b/.github/workflows/version-test.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [7.3, 7.4] - librdkafka: [v1.7.0] - extrdkafka: [3.0.5, 3.1.2, 4.0.4, 5.0.0] + php: [7.4] + librdkafka: [v1.8.2] + extrdkafka: [3.0.5, 3.1.2, 4.0.4, 4.1.2, 5.0.2] laravel: [6, 7, 8] steps: - uses: actions/checkout@v2 @@ -25,11 +25,24 @@ jobs: strategy: matrix: php: ["8.0"] - librdkafka: [v1.7.0] - extrdkafka: [5.0.0] + librdkafka: [v1.8.2] + extrdkafka: [5.0.2] laravel: [6, 7, 8] steps: - uses: actions/checkout@v2 - name: Test ${{ matrix.php }}-${{ matrix.librdkafka }}-${{ matrix.extrdkafka }}-${{ matrix.laravel }} run: make version-test-${{ matrix.php }}-${{ matrix.librdkafka }}-${{ matrix.extrdkafka }}-${{ matrix.laravel }} + run-tests-8-1: + runs-on: ubuntu-latest + strategy: + matrix: + php: ["8.1"] + librdkafka: [v1.8.2] + extrdkafka: [5.0.2] + laravel: [8] + steps: + - uses: actions/checkout@v2 + - name: Test ${{ matrix.php }}-${{ matrix.librdkafka }}-${{ matrix.extrdkafka }}-${{ matrix.laravel }} + run: + make version-test-${{ matrix.php }}-${{ matrix.librdkafka }}-${{ matrix.extrdkafka }}-${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 72b2ebe..cf0f640 100644 --- a/composer.json +++ b/composer.json @@ -9,10 +9,10 @@ "license": "MIT", "type": "project", "require": { - "php": "~7.2 || ~7.3 || ~7.4 || ~8.0", + "php": "~7.2 || ~7.3 || ~7.4 || ~8.0 || ~8.1", "monolog/monolog": "~1 || ~2", "illuminate/console": "~6 || ~7 || ~8", - "ext-rdkafka": "~3.0 || ~3.1 || ~4.0 || 5.0" + "ext-rdkafka": "~3.0 || ~3.1 || ~4.0 || ~5.0" }, "require-dev": { "phpunit/phpunit": "~7 || ~8 || ~9" diff --git a/docker-compose-test.yaml b/docker-compose-test.yaml index 215833c..b8441e3 100644 --- a/docker-compose-test.yaml +++ b/docker-compose-test.yaml @@ -5,6 +5,7 @@ networks: services: zookeeper-test: image: 'bitnami/zookeeper:latest' + restart: always networks: - app-test ports: @@ -14,6 +15,7 @@ services: kafka-test: image: 'bitnami/kafka:latest' + restart: always ports: - '9094:9092' - '9095:9093'