-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched from Travis CI to GitHub Actions
- Loading branch information
Showing
2 changed files
with
56 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Config Test Suite | ||
on: [push] | ||
|
||
jobs: | ||
coding-standards: | ||
name: Coding Standards | ||
runs-on: 'ubuntu-latest' | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install PHP Dependencies | ||
run: composer update | ||
|
||
- name: Verify Coding Standards | ||
run: vendor/bin/php-cs-fixer fix --diff --dry-run | ||
|
||
static-analysis: | ||
name: Static Analysis | ||
runs-on: 'ubuntu-latest' | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install PHP Dependencies | ||
run: composer update | ||
|
||
- name: Run Static Analysis | ||
run: vendor/bin/psalm | ||
|
||
tests: | ||
name: Tests | ||
runs-on: 'ubuntu-latest' | ||
|
||
strategy: | ||
matrix: | ||
php-versions: ['7.2', '7.3', '7.4', '8.0'] | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
coverage: xdebug | ||
|
||
- name: Install PHP Dependencies | ||
run: composer update | ||
|
||
- name: Run Tests | ||
run: vendor/bin/phpunit --coverage-text | ||
|
This file was deleted.
Oops, something went wrong.