Skip to content

Commit

Permalink
Revert "Try to test using low deps."
Browse files Browse the repository at this point in the history
This reverts commit f46348e
  • Loading branch information
drupol committed Jan 9, 2020
1 parent f46348e commit b325505
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
matrix:
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
php-versions: ['7.1', '7.2', '7.3', '7.4']
dependencies: [lowest, highest]

steps:
- name: Checkout
Expand All @@ -37,15 +36,11 @@ jobs:
uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}-${{ matrix.dependencies }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer install --no-interaction --no-progress --no-suggest

- name: "Composer install lowest dependencies"
if: matrix.dependencies == 'lowest'
run: composer update --no-interaction --no-progress --no-suggest --prefer-lowest
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader

- name: Run Grumphp
run: vendor/bin/grumphp run
Expand Down
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
"require": {
"php": ">= 7.1.3"
},
"conflict": {
"sebastian/comparator": "<2.0"
},
"require-dev": {
"drupol/php-conventions": "^1.6.11",
"friends-of-phpspec/phpspec-code-coverage": "^4.3.2",
Expand All @@ -45,6 +42,7 @@
}
},
"scripts": {
"bench": "./vendor/bin/phpbench run --report='generator: \"table\", cols: [ \"suite\", \"subject\", \"mean\", \"diff\", \"mem_peak\", \"mem_real\"], break: [\"benchmark\"]'",
"grumphp": "./vendor/bin/grumphp run",
"infection": "./vendor/bin/infection run -j 10",
"phpcbf": "./vendor/bin/phpcbf --ignore=vendor .",
Expand Down

0 comments on commit b325505

Please sign in to comment.