Skip to content

Commit

Permalink
Exclude pod tests from unused modules check
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucha committed Jul 31, 2020
1 parent e0fe4ad commit 7f8a1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ perlcritic: tools/lib/
.PHONY: test-unused-modules-changed
test-unused-modules-changed:
@echo "[make] Unused modules check called over modified/new files only. For a full run use make test-unused-modules-full"
tools/detect_unused_modules -m `git --no-pager diff --name-only --diff-filter=d $$(git merge-base master HEAD) | grep '^tests/*'`
tools/detect_unused_modules -m `git --no-pager diff --name-only --diff-filter=d $$(git merge-base master HEAD) | grep '^tests/*' | grep -v '^tests/test_pods/'`
tools/detect_unused_modules -m `git --no-pager diff --unified=0 $$(git merge-base master HEAD) products/* | grep -oP "^-.*loadtest.*[\"']\K[^\"'].+(?=[\"'])"`
tools/detect_unused_modules -m `git --no-pager diff --unified=0 $$(git merge-base master HEAD) schedule/* | grep -oP "^-\s+- [\"']?\K.*(?=[\"']?)" | grep -v '{{'`

Expand Down

0 comments on commit 7f8a1da

Please sign in to comment.