Skip to content

Commit f41acfe

Browse files
committed
run tests against actual rust code changes
Signed-off-by: Sebastian Hoß <[email protected]>
1 parent 4c5b1ee commit f41acfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Check changed CRDs
3636
run: |
3737
all_good=yes
38-
for group in $(git diff --name-only origin/main -- ./custom-resources | grep lib.rs | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} basename {} | sort --unique); do
38+
for group in $(git diff --name-only origin/main -- ./custom-resources | grep --fixed-strings '.rs' | grep --invert-match lib.rs | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} dirname {} | xargs --no-run-if-empty -I{} basename {} | sort --unique); do
3939
echo "trying to test ${group}"
4040
if [ -f "./custom-resources/${group}/src/lib.rs" ]; then
4141
if ! ./code-generator/test-custom-resources.sh "${group}"; then

0 commit comments

Comments
 (0)