Skip to content

Commit 987d92f

Browse files
committed
fix on readme and quality workflow
1 parent 313d6a2 commit 987d92f

File tree

7 files changed

+284
-272
lines changed

7 files changed

+284
-272
lines changed

.github/workflows/phpunit.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: PHPUnit
2+
on: push
3+
jobs:
4+
phpunit:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v3
8+
- uses: shivammathur/setup-php@v2
9+
with:
10+
php-version: '8.2'
11+
tools: composer:v2
12+
coverage: pcov
13+
- uses: actions/cache@v3
14+
with:
15+
path: '**/vendor'
16+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
17+
restore-keys: |
18+
${{ runner.os }}-composer-
19+
- uses: php-actions/composer@v6
20+
with:
21+
args: --prefer-dist
22+
php_version: '8.2'
23+
24+
- name: Run tests & generate Coverage
25+
run: bin/phpunit functional --coverage-html var/coverage
26+
27+
- name: Store coverage files
28+
uses: actions/upload-artifact@v3
29+
with:
30+
path: var/coverage

.github/workflows/quality.yaml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,6 @@ jobs:
1616
chmod a+x php-cs-fixer
1717
PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run -vvv
1818
19-
phpunit:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- uses: actions/checkout@v3
23-
- uses: shivammathur/setup-php@v2
24-
with:
25-
php-version: '8.2'
26-
tools: composer:v2
27-
coverage: pcov
28-
- uses: actions/cache@v3
29-
with:
30-
path: '**/vendor'
31-
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
32-
restore-keys: |
33-
${{ runner.os }}-composer-
34-
- uses: php-actions/composer@v6
35-
with:
36-
args: --prefer-dist
37-
php_version: '8.2'
38-
php_extensions: zip
39-
40-
- name: Run tests & generate Coverage
41-
run: bin/phpunit --configuration=phpunit.xml tests --coverage-html var/coverage
42-
43-
- name: Store coverage files
44-
uses: actions/upload-artifact@v3
45-
with:
46-
path: var/coverage
47-
4819
phpstan:
4920
runs-on: ubuntu-latest
5021
steps:

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
# Spreadsheet Plugin
1+
Spreadsheet Plugin
2+
===
3+
4+
[![Mutations](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/infection.yaml/badge.svg)](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/infection.yaml)
5+
[![PHPUnit](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpunit.yaml/badge.svg)](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpunit.yaml)
6+
[![Quality](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/quality.yaml/badge.svg)](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/quality.yaml)
7+
[![PHPStan level 5](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-5.yaml/badge.svg)](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-5.yaml)
8+
[![PHPStan level 6](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-6.yaml/badge.svg)](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-6.yaml)
9+
[![PHPStan level 7](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-7.yaml/badge.svg)](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-7.yaml)
10+
[![PHPStan level 8](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-8.yaml/badge.svg)](https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-8.yaml)
11+
![PHP](https://img.shields.io/packagist/php-v/php-etl/spreadsheet-plugin)
12+
213
This package aims at integrating the Spreadsheet or the Opendocument reader and writer into the
314
[Pipeline](https://github.com/php-etl/pipeline) stack.
415

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"php": "^8.2",
1616
"ext-json": "*",
1717
"nikic/php-parser": "^4.10",
18-
"symfony/config": "^5.2",
18+
"symfony/config": "^5.2 || ^6.0",
1919
"php-etl/configurator-contracts": "^0.6@dev",
2020
"php-etl/satellite-toolbox": "^0.4@dev",
2121
"php-etl/packaging-contracts": "^0.2@dev"

0 commit comments

Comments
 (0)