-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check CS and execute tests using docker environment
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 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,20 @@ | ||
name: "docker coding standards" | ||
|
||
on: ["pull_request", "push"] | ||
|
||
jobs: | ||
coding-standards: | ||
name: "docker coding standards" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: "checkout" | ||
uses: "actions/checkout@v2" | ||
|
||
- name: "build the environment" | ||
run: "dev/bin/docker-compose build" | ||
|
||
- name: "install dependencies" | ||
run: "dev/bin/php composer install" | ||
|
||
- name: "checking coding standards" | ||
run: "dev/bin/php php-cs-fixer fix --dry-run --diff --ansi" |
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,20 @@ | ||
name: "docker unit tests" | ||
|
||
on: ["pull_request", "push"] | ||
|
||
jobs: | ||
coding-standards: | ||
name: "docker unit tests" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: "checkout" | ||
uses: "actions/checkout@v2" | ||
|
||
- name: "build the environment" | ||
run: "dev/bin/docker-compose build" | ||
|
||
- name: "install dependencies" | ||
run: "dev/bin/php composer install" | ||
|
||
- name: "running unit tests" | ||
run: "dev/bin/php-test vendor/bin/simple-phpunit" |