Skip to content

Commit 813d162

Browse files
Remove minimum stability for test lowest dependencies
1 parent 8db5741 commit 813d162

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test-application.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
storage: array
6060

6161
- php-version: '7.4'
62+
coverage: '--coverage-clover=coverage.clover'
6263
storage: doctrine
6364
- php-version: '7.4'
6465
storage: array
@@ -87,16 +88,16 @@ jobs:
8788
composer-options: --prefer-dist --no-suggest
8889

8990
- name: Doctrine
90-
if: "${{ matrix.coverage }} == 'doctrine'"
91+
if: matrix.storage == 'doctrine'
9192
run: |
9293
tests/app/console doctrine:database:create
9394
tests/app/console doctrine:schema:create
9495
9596
- name: Execute test
96-
run: vendor/bin/simple-phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover
97+
run: vendor/bin/simple-phpunit -c phpunit.xml.dist ${{ matrix.matrix.coverage }}
9798

9899
- name: Coverage
99-
if: ${{ matrix.coverage }}
100+
if: matrix.coverage
100101
run: |
101102
wget https://scrutinizer-ci.com/ocular.phar
102103
php ocular.phar code-coverage:upload --access-token="230ec5e01daf5bb3e46ea304fb20348b52d80de73463ec08ee9c96fcd1349e35" --format=php-clover coverage.clover

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"Task\\TaskBundle\\Tests\\": "tests"
4040
}
4141
},
42-
"minimum-stability": "dev",
4342
"extra": {
4443
"branch-alias": {
4544
"dev-master": "2.x-dev"

0 commit comments

Comments
 (0)