add mutation testing
This commit is contained in:
parent
12ff38ecd6
commit
7674b6a6bd
22 changed files with 1239 additions and 247 deletions
|
@ -23,7 +23,16 @@ jobs:
|
|||
- name: lint
|
||||
run: composer lint
|
||||
- name: test
|
||||
run: composer test
|
||||
run: composer mutation
|
||||
- name: Add comment to pull request
|
||||
run: |
|
||||
cat var/log/infection.txt >> /tmp/pull-request-comment
|
||||
cat var/log/summary.log >> /tmp/pull-request-comment
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${GITHUB_TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"body": "$(cat /tmp/pull-request-comment)"}' \
|
||||
"${GITHUB_SERVER_URL}/api/v1/repos/${GITHUB_REPOSITORY}/issues/${GITHUB_EVENT_PULL_REQUEST_NUMBER}/comments"
|
||||
- name: GIT commit and push all changed files
|
||||
env:
|
||||
CI_COMMIT_MESSAGE: Continuous Integration Fixes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue