Skip to content

Commit

Permalink
adjust deps to remove test library dependency conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Nov 2, 2021
1 parent 2c13a8a commit da05a0e
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 16 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ jobs:
env:
SYMFONY_REQUIRE: ${{ matrix.symfony }}

- name: Install phpspec
run: composer bin phpspec install

- name: Run tests
run: bin/phpunit -v
run: vendor/bin/simple-phpunit -v

- name: Run phpspec
run: bin/phpspec run --format=pretty
run: vendor/bin/phpspec run --format=pretty

code-coverage:
name: Code Coverage
Expand All @@ -65,7 +68,7 @@ jobs:
composer-options: --prefer-dist

- name: Run code coverage
run: bin/phpunit -v --coverage-text
run: vendor/bin/simple-phpunit -v --coverage-text

composer-validate:
name: Validate composer.json
Expand Down
15 changes: 8 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
bin
composer.lock
vendor
tests/fixtures/app/cache
tests/fixtures/app/logs
.php_cs.cache
var
/composer.lock
/vendor
/tests/fixtures/app/cache
/tests/fixtures/app/logs
/.php_cs.cache
/var
/bin/tools/*/vendor/
/bin/tools/*/composer.lock
5 changes: 5 additions & 0 deletions bin/tools/phpspec/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"phpspec/phpspec": "^7.1"
}
}
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,22 @@
"symfony/framework-bundle": "^4.4|^5.0|^6.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"phpspec/phpspec": "^6.3|^7.0",
"symfony/var-dumper": "^4.4|^5.0|^6.0",
"symfony/phpunit-bridge": "^5.3"
"symfony/phpunit-bridge": "^5.3",
"bamarni/composer-bin-plugin": "^1.4"
},
"autoload": {
"psr-4": { "Umpirsky\\I18nRoutingBundle\\": "src/" }
},
"autoload-dev": {
"files": ["tests/fixtures/app/AppKernel.php"]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "0.0.1-dev"
},
"bamarni-bin": {
"target-directory": "bin/tools"
}
},
"minimum-stability": "dev",
Expand Down

0 comments on commit da05a0e

Please sign in to comment.