Skip to content

Commit

Permalink
Get pytest resport.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Oct 6, 2023
1 parent d545e96 commit 96576c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scheduled_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 96576c4

Please sign in to comment.