-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
87 changed files
with
3,851 additions
and
813 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: tests | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
tests: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
php: [7.4, 8.0] | ||
|
||
name: PHP_${{ matrix.php }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.composer/cache/files | ||
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: dom, curl, libxml, mbstring, zip | ||
coverage: none | ||
|
||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-interaction --no-progress | ||
|
||
- name: Execute tests | ||
run: vendor/bin/phpunit --verbose |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
require __DIR__.'/../../../autoload.php'; | ||
// Are we running global or per project? | ||
if(is_file( __DIR__.'/../vendor/autoload.php')) { | ||
require __DIR__.'/../vendor/autoload.php'; | ||
} else { | ||
require __DIR__.'/../../../autoload.php'; | ||
} | ||
|
||
$app = new Symfony\Component\Console\Application('Laravel Homestead', '10.17.0'); | ||
$app = new Symfony\Component\Console\Application('Laravel Homestead', '12.3.2'); | ||
|
||
$app->add(new Laravel\Homestead\MakeCommand); | ||
$app->add(new Laravel\Homestead\WslApplyFeatures); | ||
$app->add(new Laravel\Homestead\WslCreateSiteCommand); | ||
$app->add(new Laravel\Homestead\WslCreateDatabaseCommand()); | ||
|
||
$app->run(); |
Oops, something went wrong.