test
This commit is contained in:
parent
9e5c2f7842
commit
39622c8dfc
2 changed files with 14 additions and 0 deletions
|
@ -24,6 +24,16 @@ jobs:
|
|||
run: composer lint
|
||||
- name: test
|
||||
run: composer mutation
|
||||
- name output
|
||||
- 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
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
"src"
|
||||
]
|
||||
},
|
||||
'logs': {
|
||||
"text": "var/log/infection.txt",
|
||||
"summary": "var/log/summary.log",
|
||||
},
|
||||
"mutators": {
|
||||
"@default": true,
|
||||
"global-ignore": [
|
||||
|
|
Loading…
Reference in a new issue