Skip to content

Commit

Permalink
- Debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Jul 2, 2024
1 parent f114228 commit be59f0e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,18 @@ jobs:
# Get the list of changed Python files
CHANGED_FILES=$(git diff --name-only --diff-filter=AMR ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep '.py$')
CHANGED_FILES=$(echo $CHANGED_FILES | tr '\n' ',')
echo "Changed Python files 1: $CHANGED_FILES"
CHANGED_FILES=$(echo $CHANGED_FILES | tr '\r\n' ',')
echo "Changed Python files 2: $CHANGED_FILES"
CHANGED_FILES=$(echo $CHANGED_FILES | tr -s '\r\n' ',')
echo "Changed Python files 3: $CHANGED_FILES"
CHANGED_FILES=$(echo $CHANGED_FILES | paste -sd "," -)
# print linst of changed file
echo "Changed Python files: $CHANGED_FILES"
echo "Changed Python files 4: $CHANGED_FILES"
# Generate coverage report for changed files
# Fail if the coverage for changed files is below threshold
Expand Down

0 comments on commit be59f0e

Please sign in to comment.