-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
68a4a3d
commit 619ecf9
Showing
2 changed files
with
36 additions
and
1 deletion.
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,32 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
|
||
container: jellybellydev/ci-cd-theory-into-practice:latest | ||
|
||
name: "CI⚡CD: the theory put into practice" | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install dependencies | ||
run: composer install | ||
|
||
- name: Check php-cs-fixer | ||
run: vendor/bin/php-cs-fixer fix --verbose --diff --dry-run | ||
|
||
- name: Lint yaml config | ||
- run: bin/console lint:yaml config | ||
|
||
- name: Phpunit | ||
- run: XDEBUG_MODE=coverage bin/phpunit --colors=never --coverage-text | ||
|
||
- name: Psalm | ||
- run: vendor/bin/psalm |
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