Skip to content

Commit

Permalink
chore: Include scout command in .github/workflows/codecov.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ewilan-riviere committed May 30, 2024
1 parent ef36364 commit 1aecc68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
chmod +x scout
mv scout /usr/local/bin/
which scout
scout ./
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
10 changes: 5 additions & 5 deletions tests/FileListCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
use Kiwilan\FileList\FileList;

it('can list files with scout', function () {
// $list = FileList::make(PATH_TO_SCAN)
// ->withScout()
// ->run();
$list = FileList::make(PATH_TO_SCAN)
->withScout()
->run();

// expect($list->getFiles())->toBeArray();
// expect($list->getFiles())->toHaveCount(7);
expect($list->getFiles())->toBeArray();
expect($list->getFiles())->toHaveCount(7);

$list = FileList::make(PATH_TO_SCAN)
->withScout('/usr/local/bin/scout')
Expand Down

0 comments on commit 1aecc68

Please sign in to comment.