Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,23 @@ jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: ['7.3', '7.4', '8.0']
name: PHPUnit on PHP ${{ matrix.php-versions }}
php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
phpunit-versions: ['^8.5', '^9.6']
name: PHP ${{ matrix.php-versions }}, PHPUnit ${{ matrix.phpunit-versions }}

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}

- name: Composer install
run: composer install
- name: Composer update
run: composer update --no-interaction --with "phpunit/phpunit:${{ matrix.phpunit-versions }}"

- name: Run PHPUnit
run: vendor/bin/phpunit
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
phpunit.xml
composer.phar
/vendor/
.idea
.idea
composer.lock
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"homepage": "https://github.com/jimdo/TestDataBuilder",
"license": "LGPL",
"require": {
"php" : "7.3 - 8.0",
"phpunit/phpunit": "8.*"
"php": "^7.3 || ^8.0",
"phpunit/phpunit": "^8.5 || ^9.6"
},
"autoload": {
"exclude-from-classmap": ["/tests/"],
Expand Down
Loading
Loading