Skip to content

Commit

Permalink
github: Be more selective about which stubs to delete (not examples)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeryan committed Dec 8, 2023
1 parent e1315e0 commit a8d096e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check_nims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ jobs:
run: git clean -dfx docs/ && git restore docs/
- name: Generate gRPC stubs
run: |
find . -name \*_pb2.py\* -o -name \*_pb2_grpc.py\* -delete
find ni_measurementlink_service/ -name \*_pb2.py\* -o -name \*_pb2_grpc.py\* -delete
find tests/ -name \*_pb2.py\* -o -name \*_pb2_grpc.py\* -delete
poetry run python scripts/generate_grpc_stubs.py
- name: Check for out-of-date gRPC stubs
run: git diff --exit-code
Expand Down

0 comments on commit a8d096e

Please sign in to comment.