-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Replaced Travis CI & Circle CI configuration with Github Actions
+ Removed Travis config + Removed styleci config + Added run-tests.yaml github action as replacement for our previous travis config + Added check-coding-standards.yaml github action as replacement for our previous styleci config + Changed Badges within our README.md to point towards our new github actions
- Loading branch information
Showing
5 changed files
with
49 additions
and
30 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,18 @@ | ||
name: Code Analysis | ||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
coding-standards: | ||
name: Coding Standards | ||
runs-on: 'ubuntu-latest' | ||
|
||
steps: | ||
- name: Checkout | ||
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 | ||
|
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,29 @@ | ||
name: Test Suite | ||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
tests: | ||
runs-on: 'ubuntu-latest' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-versions: [ '8.1' ] | ||
dependency-version: [ prefer-lowest, prefer-stable ] | ||
|
||
name: Php-${{ matrix.php }} - ${{ matrix.dependency-version }} | ||
|
||
steps: | ||
- name: Checkout | ||
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.
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