-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
smoench
committed
Dec 8, 2020
1 parent
1f22a41
commit ad7bc37
Showing
6 changed files
with
85 additions
and
21 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: e2e | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
|
||
jobs: | ||
|
||
e2e: | ||
runs-on: ubuntu-latest | ||
name: ${{ matrix.e2e }} - ${{ matrix.php }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
e2e: | ||
- 'e2e_php_settings_checker' | ||
- 'e2e_scoper_alias' | ||
- 'e2e_scoper_whitelist' | ||
- 'e2e_check_requirements' | ||
- 'e2e_symfony' | ||
- 'e2e_composer_installed_versions' | ||
php: [ '7.3', '8.0' ] | ||
tools: [ 'composer:v2' ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
ini-values: "phar.readonly=0" | ||
tools: ${{ matrix.tools }} | ||
coverage: pcov | ||
|
||
- name: Get composer cache directory | ||
id: composercache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
|
||
- name: Cache composer dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.composercache.outputs.dir }} | ||
key: composer-${{ runner.os }}-${{ matrix.php }}-${{ hashFiles('composer.*') }} | ||
restore-keys: | | ||
composer-${{ runner.os }}-${{ matrix.php }}- | ||
composer-${{ runner.os }}- | ||
composer- | ||
- name: Install dependencies | ||
run: composer install --no-interaction --no-progress --no-suggest --prefer-dist | ||
|
||
- name: Install requirement-checker dependencies | ||
run: composer install --no-interaction --no-progress --prefer-dist --working-dir requirement-checker | ||
|
||
- name: Run e2e ${{ matrix.e2e }} | ||
run: make ${{ matrix.e2e }} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
"src/functions.php" | ||
] | ||
}, | ||
"bin": "index.php" | ||
"bin": ["index.php"] | ||
} |
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