From 52757f76d967948569bf5d9d8c147309f6ee5f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Fija=C5=82kowski?= Date: Fri, 20 Dec 2024 16:11:01 +0100 Subject: [PATCH] Adjust test reporting --- .github/workflows/core_build_publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/core_build_publish.yml b/.github/workflows/core_build_publish.yml index d002e994..a8cb06b3 100644 --- a/.github/workflows/core_build_publish.yml +++ b/.github/workflows/core_build_publish.yml @@ -161,15 +161,17 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 if: always() - with: - directory: ./TestResults - name: Upload test report if: always() run: | # Strip BOM first :clown: find TestResults -name '*.json' | xargs -n 1 sed -i "$(printf '1s/^\357\273\277//')" npx ctrf merge TestResults --output merged.json - npx github-actions-ctrf pull-request TestResults/merged.json --update-comment --comment-tag "${{ github.workflow }}-${{ github.job }}" + npx github-actions-ctrf summary TestResults/merged.json + npx github-actions-ctrf failed-folded TestResults/merged.json + npx github-actions-ctrf skipped TestResults/merged.json + npx github-actions-ctrf annotate TestResults/merged.json + npx github-actions-ctrf pull-request TestResults/merged.json --overwrite-comment --comment-tag "${{ github.workflow }}-${{ github.job }}" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}