diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5aa7fcb..d466edf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,3 +9,5 @@ on: jobs: ci: uses: shlinkio/github-actions/.github/workflows/php-lib-ci.yml@main + secrets: + INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }} diff --git a/README.md b/README.md index 5f6fa1d..9aec627 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Build Status](https://img.shields.io/github/workflow/status/shlinkio/shlink-config/Continuous%20integration/main?logo=github&style=flat-square)](https://github.com/shlinkio/shlink-config/actions?query=workflow%3A%22Continuous+integration%22) [![Code Coverage](https://img.shields.io/codecov/c/gh/shlinkio/shlink-config/main?style=flat-square)](https://app.codecov.io/gh/shlinkio/shlink-config) +[![Infection MSI](https://img.shields.io/endpoint?style=flat-square&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fshlinkio%2Fshlink-config%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/shlinkio/shlink-config/main) [![Latest Stable Version](https://img.shields.io/github/release/shlinkio/shlink-config.svg?style=flat-square)](https://packagist.org/packages/shlinkio/shlink-config) [![License](https://img.shields.io/github/license/shlinkio/shlink-config.svg?style=flat-square)](https://github.com/shlinkio/shlink-config/blob/main/LICENSE) [![Paypal donate](https://img.shields.io/badge/Donate-paypal-blue.svg?style=flat-square&logo=paypal&colorA=aaaaaa)](https://slnk.to/donate) diff --git a/infection.json b/infection.json index b7e7bee..00ce157 100644 --- a/infection.json +++ b/infection.json @@ -8,7 +8,10 @@ "logs": { "text": "build/infection/infection-log.txt", "summary": "build/infection/summary-log.txt", - "debug": "build/infection/debug-log.txt" + "debug": "build/infection/debug-log.txt", + "badge": { + "branch": "main" + } }, "tmpDir": "build/infection/temp", "phpUnit": {