Skip to content

Commit b7893ee

Browse files
run only impacted tests
1 parent a4ddc99 commit b7893ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/python-app.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3131
- name: Test with pytest
3232
run: |
33-
pytest --continue-on-collection-errors
33+
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
34+
git diff origin/main HEAD --name-only -- practice | xargs dirname | sort | uniq | xargs
3435
- name: Lint with flake8
3536
run: |
3637
# stop the build if there are Python syntax errors or undefined names

0 commit comments

Comments
 (0)