From 41aa2e21d080df835a6ea1c38f25797ffcac76b5 Mon Sep 17 00:00:00 2001 From: "raoha.rh" Date: Wed, 21 Aug 2024 14:41:41 +0800 Subject: [PATCH] feat: init pytest workflow --- .github/workflows/build-and-test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 717fb464..03f91646 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -57,9 +57,7 @@ jobs: pytest -v --md-report --md-report-output ${{ env.REPORT_FILE }} cat ${{ env.REPORT_FILE }} - - name: Render the report to the PR when tests fail - uses: marocchino/sticky-pull-request-comment@v2 + - name: Comment PR + uses: thollander/actions-comment-pull-request@v2 with: - header: test-report - recreate: true - path: ${{ env.REPORT_FILE }} \ No newline at end of file + filePath: ${{ env.REPORT_FILE }} \ No newline at end of file