Skip to content

Commit

Permalink
testing github step summary
Browse files Browse the repository at this point in the history
  • Loading branch information
maxeeem committed Jan 24, 2024
1 parent 64aa7a3 commit 7d34bb0
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/python-app-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,15 @@ jobs:
node-version: 20
- run: npm install -g diff2html-cli

- name: Compare test results
run: |
diff -u output-dev.txt output-pr.txt | diff2html -i stdin -F test-diff.html
echo "```diff" >> $GITHUB_STEP_SUMMARY
echo "$test_results" >> $GITHUB_STEP_SUMMARY
echo "```" >> $GITHUB_STEP_SUMMARY
# - name: Compare test results
# run: |
# diff -u output-dev.txt output-pr.txt | diff2html -i stdin -F test-diff.html
# echo "```diff" >> $GITHUB_STEP_SUMMARY
# echo "$test_results" >> $GITHUB_STEP_SUMMARY
# echo "```" >> $GITHUB_STEP_SUMMARY

- name: Adding markdown
run: echo '### Hello world! 🚀' >> $GITHUB_STEP_SUMMARY

- uses: actions/upload-artifact@v4
with:
Expand All @@ -74,7 +77,6 @@ jobs:
message: |
Test results from DEV: $test_dev
Test results from PR: $test_pr
$GITHUB_STEP_SUMMARY
comment_tag: execution


0 comments on commit 7d34bb0

Please sign in to comment.