Skip to content

Commit

Permalink
Fix supported php versions + fix github actions tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmerioles committed Dec 16, 2024
1 parent a5cced6 commit a57b6bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/php-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PHP 7.* Tests
name: PHP 8.0-8.2 Tests

on:
push: # Trigger on code pushes
Expand All @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
php: [7.0, 7.1, 7.2, 7.3, 7.4] # Define the PHP versions to test
php: [8.0, 8.1, 8.2] # Define the PHP versions to test

steps:
# Step 1: Check out the repository
Expand All @@ -32,5 +32,5 @@ jobs:
run: composer install --no-progress --no-suggest

# Step 4: Run Tests
- name: Run PHPUnit Tests
run: vendor/bin/phpunit
- name: Run tests
run: composer test
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
],
"require": {
"php": "8.0.*",
"php": "8.0.* || 8.1.* || 8.2.*",
"guzzlehttp/guzzle": "^7.0",
"illuminate/cache": "^9.0",
"illuminate/filesystem": "^9.0",
Expand Down

0 comments on commit a57b6bc

Please sign in to comment.