Skip to content

Commit

Permalink
Merge pull request #19 from osteel/feature/proper-compatibility-testing
Browse files Browse the repository at this point in the history
Improved compatibility testing
  • Loading branch information
osteel authored Jun 30, 2022
2 parents 259e5c6 + 4f2bf5a commit 91e872f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,21 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php-version:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
dependency-versions:
- "lowest"
- "highest"

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up PHP
uses: shivammathur/setup-php@v2
Expand All @@ -43,7 +47,9 @@ jobs:
coverage: none

- name: Install Composer dependencies
uses: "ramsey/composer-install@v1"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: ${{ matrix.dependency-versions }}

- name: Run PHPUnit
run: vendor/bin/phpunit tests
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"symfony/psr-http-message-bridge": "^2.0"
},
"require-dev": {
"phpunit/phpunit": ">=8.0",
"phpunit/phpunit": ">=8.5.23",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
Expand Down

0 comments on commit 91e872f

Please sign in to comment.