Skip to content
Open
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
8 changes: 4 additions & 4 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ jobs:
tests_suite:
strategy:
matrix:
php_version: [ '8.1', '8.2' ]
php_version: [ '8.1', '8.4' ]
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install Dependencies
run: |
composer install
composer update --no-interaction
- name: Execute PHPUnit tests
run: vendor/bin/phpunit
6 changes: 3 additions & 3 deletions .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
install:
strategy:
matrix:
php_version: [ '8.1', '8.2' ]
symfony_version: [ '6.0', '6.1', '6.2' ]
php_version: [ '8.4' ]
symfony_version: [ '7.4', '8.1' ]
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
#extensions: dom, curl, libxml, mbstring
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Create new project
run: |
mkdir component
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
.php_cs.cache
.php-cs-fixer.cache
.phpunit.result.cache
test.php
test.phpcomposer.lock
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@
"require": {
"php": ">=8.1",
"phpoffice/phpspreadsheet": "^1.16|^2.0|^3.0",
"symfony/serializer": "^6.0|^7.0",
"symfony/filesystem": "^6.0|^7.0"
"symfony/serializer": "^6.0|^7.0|^8.0",
"symfony/filesystem": "^6.0|^7.0|^8.0"
},
"require-dev": {
"symfony/test-pack": "^1.0"
"phpunit/phpunit": "^10.5 || ^11.0 || ^12.0 || ^13.0"
},
"config": {
"platform": {
}
}
}
Loading
Loading