lol #2
3 changed files with 53 additions and 7 deletions
|
@ -1,11 +1,29 @@
|
||||||
on: [push]
|
on: [pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
env:
|
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: git.php.fail/lubiana/container/php:ci
|
||||||
steps:
|
steps:
|
||||||
- run: ls -l /
|
- name: Manually checkout
|
||||||
- run: ls -l /opt
|
env:
|
||||||
- run: echo 'lol' >> /opt/hostedtoolcache/omg.txt
|
REPO: '${{ github.repository }}'
|
||||||
- run: cat /opt/hostedtoolcache/omg.txt
|
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
|
GIT_SERVER: 'hannover.ccc.de/gitlab'
|
||||||
|
run: |
|
||||||
|
git clone --branch $GITHUB_HEAD_REF https://${TOKEN}@${GIT_SERVER}/${REPO}.git .
|
||||||
|
git fetch
|
||||||
|
git checkout $GITHUB_HEAD_REF
|
||||||
|
- name: lol
|
||||||
|
run: |
|
||||||
|
ls -l
|
||||||
|
pwd
|
||||||
|
output=$(cat output.txt)
|
||||||
|
echo "" >> output.txt
|
||||||
|
jq -n --arg msg "\`\`\`$(cat output.txt)`\`\`" '{"body": $msg}' > /tmp/git-msg
|
||||||
|
echo $output
|
||||||
|
curl -X POST \
|
||||||
|
-H "Authorization: token ${GITHUB_TOKEN}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d @/tmp/git-msg \
|
||||||
|
"${{ env.GITHUB_SERVER_URL }}/api/v1/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
|
||||||
|
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.idea
|
27
output.txt
Normal file
27
output.txt
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
Escaped mutants:
|
||||||
|
================
|
||||||
|
1) /workspace/lubiana/futtern/src/Controller/FoodVendorController.php:39 [M] ArrayItemRemoval
|
||||||
|
@@ @@
|
||||||
|
$entityManager->flush();
|
||||||
|
return $this->redirectToRoute('app_food_vendor_index', [], Response::HTTP_SEE_OTHER);
|
||||||
|
}
|
||||||
|
- return $this->render('food_vendor/new.html.twig', ['food_vendor' => $foodVendor, 'form' => $form]);
|
||||||
|
+ return $this->render('food_vendor/new.html.twig', ['form' => $form]);
|
||||||
|
}
|
||||||
|
#[Route('/{id}', name: 'app_food_vendor_show', methods: ['GET'])]
|
||||||
|
public function show(FoodVendor $foodVendor): Response
|
||||||
|
Timed Out mutants:
|
||||||
|
==================
|
||||||
|
Skipped mutants:
|
||||||
|
================
|
||||||
|
Not Covered mutants:
|
||||||
|
====================
|
||||||
|
Total: 315
|
||||||
|
Killed: 314
|
||||||
|
Errored: 0
|
||||||
|
Syntax Errors: 0
|
||||||
|
Escaped: 1
|
||||||
|
Timed Out: 0
|
||||||
|
Skipped: 0
|
||||||
|
Ignored: 0
|
||||||
|
Not Covered: 0
|
Loading…
Reference in a new issue