Skip to content

Commit

Permalink
CLI-863: Fix Drush alias download (#1209)
Browse files Browse the repository at this point in the history
* CLI-863: Fix Drush alias download

Co-authored-by: tdnshah [email protected]

* fix tests

* clean up types

* update infection

* grr

* debug mutation

* debug

* undo debug
  • Loading branch information
danepowell authored Oct 19, 2022
1 parent 8aff0d2 commit aa1cffd
Show file tree
Hide file tree
Showing 6 changed files with 896 additions and 50 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,16 @@ jobs:
run: |
composer install --no-progress --no-suggest --no-interaction
- name: Download Infection
run: composer infection-install

- name: Run Infection for added files only
if: github.event_name == 'pull_request'
run: |
git fetch --depth=1 origin $GITHUB_BASE_REF
# Explicitly specify GitHub logger since our Stryker reporting will otherwise disable it.
php build/infection.phar -j8 --git-diff-lines --git-diff-base=origin/$GITHUB_BASE_REF --logger-github --only-covered
php vendor/bin/infection -j8 --git-diff-lines --git-diff-base=origin/$GITHUB_BASE_REF --logger-github --only-covered
- name: Run Infection for all files
if: github.event_name == 'push'
env:
INFECTION_DASHBOARD_API_KEY: ${{ secrets.INFECTION_DASHBOARD_API_KEY }}
run: |
php build/infection.phar -j8 --only-covered
php vendor/bin/infection -j8 --only-covered
6 changes: 2 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"require-dev": {
"acquia/coding-standards": "^1",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"infection/infection": "^0.26.15",
"mikey179/vfsstream": "^1.6",
"overtrue/phplint": "^4.0",
"php-coveralls/php-coveralls": "^2.2",
Expand Down Expand Up @@ -142,11 +143,8 @@
"box-compile": [
"php build/box.phar compile"
],
"infection-install": [
"curl -f -L https://github.com/infection/infection/releases/download/0.26.13/infection.phar -o build/infection.phar"
],
"infection": [
"php -d pcov.enabled=1 build/infection.phar --threads=8"
"php -d pcov.enabled=1 vendor/bin/infection --threads=8"
],
"cs": "phpcs",
"cbf": "phpcbf",
Expand Down
Loading

0 comments on commit aa1cffd

Please sign in to comment.