Skip to content

🏅 Stryker Report #1775

🏅 Stryker Report

🏅 Stryker Report #1775

name: "🏅 Stryker Report"
on:
workflow_run:
workflows: ["🎳 Stryker"]
types: ["completed"]
jobs:
report:
if: >
${{ github.event.workflow_run.conclusion == 'success'
&& github.event.workflow_run.event == 'pull_request' }}
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: dawidd6/action-download-artifact@v3
with:
workflow: stryker.yml
name: stryker-results-metadata
- uses: dawidd6/action-download-artifact@v3
with:
workflow: stryker.yml
name: stryker-results
- uses: dawidd6/action-download-artifact@v3
with:
workflow: stryker.yml
name: stryker-results-moq
- uses: dawidd6/action-download-artifact@v3
with:
workflow: stryker.yml
name: stryker-results-fakeiteasy
- uses: dawidd6/action-download-artifact@v3
with:
workflow: stryker.yml
name: stryker-results-nsubstitute
- name: 🔟 Resolve Pull Request Reference
id: pr_number
uses: juliangruber/read-file-action@v1
with:
path: pr_number.meta
- name: 🔟 Resolve Branch Name
id: branch
uses: juliangruber/read-file-action@v1
with:
path: branch.meta
- name: 📬 Find Comment
uses: peter-evans/find-comment@v3
id: fc
with:
issue-number: ${{ steps.pr_number.outputs.content }}
comment-author: "github-actions[bot]"
body-includes: "🎳 [Stryker]\
(https://dashboard.stryker-mutator.io/reports/github.com/iamdmitrij/Tethos/\
${{ steps.branch.outputs.content }}) Report"
direction: last
- name: 📝 Create comment
uses: peter-evans/create-or-update-comment@v4
with:
body: "# 🎳 [Stryker]\
(https://dashboard.stryker-mutator.io/reports/github.com/iamdmitrij/Tethos/\
${{ steps.branch.outputs.content }}) Report\n
[![Mutation testing badge]\
(https://img.shields.io/endpoint?style=flat&url=\
https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fiamdmitrij%2FTethos%2F\
${{ steps.branch.outputs.content }})]\
(https://dashboard.stryker-mutator.io/reports/github.com/iamdmitrij/Tethos/\
${{ steps.branch.outputs.content }})\n
## 📊 Reports\n
- [Tethos]\
(https://dashboard.stryker-mutator.io/reports/github.com/iamdmitrij/Tethos/\
${{ steps.branch.outputs.content }}?module=Tethos)\n
- [Tethos.Moq]\
(https://dashboard.stryker-mutator.io/reports/github.com/iamdmitrij/Tethos/\
${{ steps.branch.outputs.content }}?module=Tethos.Moq)\n
- [Tethos.FakeItEasy]\
(https://dashboard.stryker-mutator.io/reports/github.com/iamdmitrij/Tethos/\
${{ steps.branch.outputs.content }}?module=Tethos.FakeItEasy)\n
- [Tethos.NSubstitute]\
(https://dashboard.stryker-mutator.io/reports/github.com/iamdmitrij/Tethos/\
${{ steps.branch.outputs.content }}?module=Tethos.NSubstitute)"
issue-number: ${{ steps.pr_number.outputs.content }}
comment-id: ${{ steps.fc.outputs.comment-id }}
edit-mode: "replace"