From d53daaa752c1751532968fbe00ed548bb6559c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Sat, 1 Jul 2023 14:38:56 -0300 Subject: [PATCH] Add --only-covering-test-cases option to Infection test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Execute only those test cases that cover mutated line, not the whole file with covering test cases. [ci skip] Signed-off-by: MaurĂ­cio Meneghini Fauth --- .github/workflows/mutation-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mutation-tests.yml b/.github/workflows/mutation-tests.yml index de29dac6e3..2d66055a85 100644 --- a/.github/workflows/mutation-tests.yml +++ b/.github/workflows/mutation-tests.yml @@ -77,4 +77,4 @@ jobs: if: github.event_name == 'schedule' env: INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }} - run: infection -j$(nproc) --skip-initial-tests --coverage=build/logs --no-interaction --no-progress + run: infection -j$(nproc) --skip-initial-tests --coverage=build/logs --no-interaction --no-progress --only-covering-test-cases