From 96576c4c5e6ad983cbbb2a346fb18d4cf676cce4 Mon Sep 17 00:00:00 2001 From: everaldorodrigo Date: Fri, 6 Oct 2023 16:56:56 -0700 Subject: [PATCH] Get pytest resport. --- .github/workflows/scheduled_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scheduled_tests.yml b/.github/workflows/scheduled_tests.yml index dc933490..d5acca57 100644 --- a/.github/workflows/scheduled_tests.yml +++ b/.github/workflows/scheduled_tests.yml @@ -53,13 +53,13 @@ jobs: id: read-pytest-report run: | # Use the cat command to read the file and store its content in a variable - pytest_report_content=$(cat pytest_report.xml) + pytest_report_content=$(cat pytest_report.xml) echo "::set-output name=content::$pytest_report_content" - name: Send Report to Slack run: | curl -X POST -H 'Content-type: application/json' --data '{ - "text": "Pytest Report:\n```'${{ steps.read-pytest-report.outputs.pytest_report_content }}'```" + "text": "Pytest Report:\n```'${{ steps.read-pytest-report.outputs }}'```" }' $SLACK_WEBHOOK_URL env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}