Skip to content

Commit 19f42db

Browse files
authored
fix git diff branch
1 parent 0445452 commit 19f42db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3131
- name: Test with pytest
3232
run: |
33-
git diff origin/main --name-only -- practice | xargs dirname | sort | uniq | xargs pytest
33+
git diff origin/main HEAD --name-only -- practice | xargs dirname | sort | uniq | xargs pytest
3434
- name: Lint with flake8
3535
run: |
3636
# stop the build if there are Python syntax errors or undefined names

0 commit comments

Comments
 (0)