-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Travis to GitHub Actions (#198)
Move Travis to GitHub Actions
- Loading branch information
Showing
8 changed files
with
110 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
service_name: travis-ci | ||
coverage_clover: coverage.xml | ||
json_path: coverage.json |
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,80 @@ | ||
name: Code_Checks | ||
|
||
on: | ||
- pull_request | ||
|
||
jobs: | ||
ecs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- | ||
name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- | ||
name: Setup PHP | ||
uses: shivammathur/setup-php@v1 | ||
with: | ||
php-version: 7.3 | ||
coverage: none | ||
|
||
- | ||
name: Install | ||
run: | ||
composer install --no-progress | ||
|
||
- | ||
name: Run | ||
run: | ||
composer check-cs | ||
|
||
phpstan: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- | ||
name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- | ||
name: Setup PHP | ||
uses: shivammathur/setup-php@v1 | ||
with: | ||
php-version: 7.3 | ||
coverage: none | ||
|
||
- | ||
name: Install | ||
run: | ||
composer install --no-progress | ||
|
||
- | ||
name: Run | ||
run: | ||
composer phpstan | ||
|
||
rector: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- | ||
name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- | ||
name: Setup PHP | ||
uses: shivammathur/setup-php@v1 | ||
with: | ||
php-version: 7.3 | ||
coverage: none | ||
|
||
- | ||
name: Install | ||
run: | ||
composer install --no-progress | ||
|
||
- | ||
name: Run | ||
run: | ||
composer rector |
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
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