From e77d482f057351f1fdb2ec598e63f39b2a3dbfe3 Mon Sep 17 00:00:00 2001 From: Kevin Matthes <92332892+kevinmatthes@users.noreply.github.com> Date: Sat, 2 Mar 2024 21:52:18 +0100 Subject: [PATCH 1/2] Changed ::= CI: upload PR code coverage report as asset instead of PR comment; fixes #151 --- .github/workflows/pr.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index aa0ba97..159840c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -68,12 +68,13 @@ jobs: echo '```' ; pycobertura show cobertura.xml ; echo '```' ; - } >> code-coverage.md + } >> code-coverage.txt - - uses: thollander/actions-comment-pull-request@v2.5.0 + - if: always() + uses: actions/upload-artifact@v4.3.1 with: - comment_tag: code-coverage - filePath: code-coverage.md + name: code-coverage.txt + path: code-coverage.txt coverage: needs: From 57f2bf25f6bfd31b69ad07f0f773e3a1ddb50576 Mon Sep 17 00:00:00 2001 From: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 2 Mar 2024 20:53:34 +0000 Subject: [PATCH 2/2] Create summary of recent changes --- changelog.d/20240302_205334_GitHub_Actions_151.ron | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 changelog.d/20240302_205334_GitHub_Actions_151.ron diff --git a/changelog.d/20240302_205334_GitHub_Actions_151.ron b/changelog.d/20240302_205334_GitHub_Actions_151.ron new file mode 100644 index 0000000..9693332 --- /dev/null +++ b/changelog.d/20240302_205334_GitHub_Actions_151.ron @@ -0,0 +1,8 @@ +( + references: {}, + changes: { + "Changed": [ + "CI: upload PR code coverage report as asset instead of PR comment; fixes #151", + ], + }, +)