Skip to content

Commit

Permalink
Update coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
therealdreg authored Aug 16, 2023
1 parent d27efd3 commit 04ae434
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
echo "diff_score=${diff_score}" >> $GITHUB_OUTPUT
echo "include_tests=${include_tests}" >> $GITHUB_OUTPUT
echo "include_docs=${include_docs}" >> $GITHUB_OUTPUT
WORDS=("pycharm", "debugpy", "ptvsd", "breakpoint", "pdb")
for word in "${WORDS[@]}"; do
if git diff ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} -- "gef.py" | grep "^+" | grep -q "$word"; then
echo "'$word' found in gef.py. Consider removing it." >> $GITHUB_OUTPUT
fi
done
- uses: actions/github-script@v6
env:
Expand Down

0 comments on commit 04ae434

Please sign in to comment.