-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #30 Year 2021: Code Strikes Back (pamil)
This PR was merged into the 1.2-dev branch. Discussion ---------- Commits ------- 33f08ee Year 2021: Code Strikes Back
- Loading branch information
Showing
5 changed files
with
48 additions
and
75 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Build | ||
|
||
on: | ||
push: ~ | ||
pull_request: ~ | ||
release: | ||
types: [created] | ||
schedule: | ||
- | ||
cron: "0 1 * * 6" # Run at 1am every Saturday | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-20.04 | ||
name: "PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: ["7.4", "8.0"] | ||
symfony: ["^4.4", "^5.2"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: "${{ matrix.php }}" | ||
coverage: none | ||
|
||
- name: Restrict Symfony version | ||
if: matrix.symfony != '' | ||
run: | | ||
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.11" | ||
composer config extra.symfony.require "${{ matrix.symfony }}" | ||
- name: Install dependencies | ||
run: composer update | ||
|
||
- name: Run analysis | ||
run: composer validate --strict | ||
|
||
- name: Run tests | ||
run: vendor/bin/behat --strict -vvv --no-interaction |
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