Skip to content

Commit

Permalink
chore: add version matrix for testing (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 authored Oct 10, 2023
1 parent f06e97d commit 30106c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ on:

jobs:
test:
strategy:
matrix:
php-version: ["7.4", "8.0", "8.1", "8.2"]
runs-on: ubuntu-latest

env:
TEST_AUTH_TOKEN: ${{ secrets.ALPHA_TEST_AUTH_TOKEN }}
TEST_CACHE_NAME: php-integration-test-cache
Expand All @@ -35,7 +39,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: ${{ matrix.php-version }}
extensions: grpc
tools: composer

Expand Down
7 changes: 1 addition & 6 deletions examples/composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"require": {
"momentohq/client-sdk-php": "1.3.0",
"momentohq/client-sdk-php": "1.4.0",
"monolog/monolog": "^2.5"
},
"config": {
"platform": {
"php": "8.0"
}
}
}

0 comments on commit 30106c6

Please sign in to comment.