Skip to content

Commit

Permalink
Add php version test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
tobischo authored and martinseener committed Apr 14, 2024
1 parent 0e2bf5d commit 48c3c51
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ jobs:
unit-tests:
runs-on: ubuntu-latest

strategy:
matrix:
php-version: [8.2, 8.3]

steps:
- uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- name: Validate composer.json and composer.lock
run: composer validate

Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.DS_Store
/vendor/
/vendor/
.phpunit.cache
.phpunit.result.cache

0 comments on commit 48c3c51

Please sign in to comment.