Skip to content

Commit 8e8549f

Browse files
committed
lock composer contracts version
1 parent ea79810 commit 8e8549f

File tree

5 files changed

+61
-61
lines changed

5 files changed

+61
-61
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+
extensions: zip, xdebug
14+
- uses: actions/cache@v3
15+
with:
16+
path: '**/vendor'
17+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
18+
restore-keys: |
19+
${{ runner.os }}-composer-
20+
- uses: php-actions/composer@v6
21+
with:
22+
args: --prefer-dist
23+
php_version: '8.2'
24+
php_extensions: zip xdebug
25+
- name: Run tests & generate Coverage
26+
run: bin/phpunit --coverage-html var/coverage
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 & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,6 @@ jobs:
1515
chmod a+x php-cs-fixer
1616
PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run
1717
18-
phpunit:
19-
runs-on: ubuntu-latest
20-
steps:
21-
- uses: actions/checkout@v3
22-
- uses: shivammathur/setup-php@v2
23-
with:
24-
php-version: '8.2'
25-
tools: composer:v2
26-
coverage: pcov
27-
extensions: zip, xdebug
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 xdebug
39-
- name: Run tests & generate Coverage
40-
run: bin/phpunit --coverage-html var/coverage
41-
- name: Store coverage files
42-
uses: actions/upload-artifact@v3
43-
with:
44-
path: var/coverage
45-
4618
phpstan:
4719
runs-on: ubuntu-latest
4820
steps:

.github/workflows/rector.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: github.event.pull_request.head.repo.full_name == 'php-etl/spreadsheet-flow'
1111
steps:
12-
-
13-
if: github.event.pull_request.head.repo.full_name == github.repository
14-
uses: actions/checkout@v3
12+
- uses: actions/checkout@v3
1513

1614
-
1715
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
"ext-dom": "*",
2929
"ext-xmlreader": "*",
3030
"ext-simplexml": "*",
31-
"php-etl/bucket": "^0.3.0",
31+
"php-etl/bucket": "*",
3232
"box/spout": "^3.1",
33-
"php-etl/pipeline-contracts": "^0.4.0",
33+
"php-etl/pipeline-contracts": "0.4.0",
3434
"psr/log": "^3.0"
3535
},
3636
"require-dev": {
@@ -39,7 +39,7 @@
3939
"friendsofphp/php-cs-fixer": "^3.0",
4040
"infection/infection": "^0.26.18",
4141
"rector/rector": "^0.15.23",
42-
"php-etl/phpunit-extension": "^0.5.0"
42+
"php-etl/phpunit-extension": "*"
4343
},
4444
"autoload": {
4545
"psr-4": {

composer.lock

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)