Skip to content

Commit a174dd5

Browse files
committed
🆙Update package and github action
1 parent 13a7eae commit a174dd5

File tree

3 files changed

+266
-268
lines changed

3 files changed

+266
-268
lines changed

.github/workflows/test_branch.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,14 @@ jobs:
7474
else
7575
git checkout coverage
7676
fi
77+
commit_hash=${GITHUB_SHA::8}
78+
commit_link="[$commit_hash](https://github.com/$GITHUB_REPOSITORY/tree/$commit_hash)"
7779
echo "[![pytest](https://github.com/$GITHUB_REPOSITORY/actions/workflows/test_summary.yml/badge.svg)](https://github.com/$GITHUB_REPOSITORY/actions/workflows/test_summary.yml)" > ./README.md
7880
echo -e ${{ steps.coverageComment.outputs.summaryReport }} >> ./README.md
79-
echo "ℹ️ **Note**: " >> ./README.md
81+
echo -e "ℹ️ **Note**: \n" >> ./README.md
82+
echo -e "Commit: $commit_link\n" >> ./README.md
8083
echo "Click on the `test summary` badge above to see the results of running pytest on multiple hosts." >> ./README.md
84+
8185
- name: Commit
8286
if: ${{ steps.is_main.outputs.flag == '1' }}
8387
run: |

0 commit comments

Comments
 (0)