Skip to content

Commit

Permalink
Update composer install for Infection
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rubel committed Mar 14, 2024
1 parent ef2548d commit cd2d104
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/infection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ jobs:
with:
php-version: '8.1'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, intl, fileinfo, sodium
coverage: xdebug
coverage: pcov

- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}

- name: Run composer install
run: composer install -n --prefer-dist
- name: Install dependencies
run: |
composer require "laravel/framework:10.*" "nesbot/carbon:^2.64.1" --dev --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction
- name: Run infection
run: ./vendor/bin/infection --show-mutations --min-msi=100 --min-covered-msi=100

0 comments on commit cd2d104

Please sign in to comment.