Skip to content

Commit

Permalink
Updates tests to the latest dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
joesantos418 committed Dec 9, 2021
1 parent 4e4bf21 commit 7418e73
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/version-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions docker-compose-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ networks:
services:
zookeeper-test:
image: 'bitnami/zookeeper:latest'
restart: always
networks:
- app-test
ports:
Expand All @@ -14,6 +15,7 @@ services:

kafka-test:
image: 'bitnami/kafka:latest'
restart: always
ports:
- '9094:9092'
- '9095:9093'
Expand Down

0 comments on commit 7418e73

Please sign in to comment.