Skip to content

Commit 345db97

Browse files
Add instructions for running updates and tests
Signed-off-by: Elena Kolevska <[email protected]>
1 parent ebb8e92 commit 345db97

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,30 @@ Go deeper into a topic or scenario, oftentimes using building block APIs togethe
3838
| [Observability](./tutorials/observability) | Demonstrates Dapr tracing capabilities. Uses Zipkin as a tracing component. |
3939
| [Secret Store](./tutorials/secretstore) | Demonstrates the use of Dapr Secrets API to access secret stores. |
4040

41+
## Development
42+
43+
### Updating sdk versions
44+
- Python: `make update_python_sdk_version [DAPR_VERSION=1.16.0] [FASTAPI_VERSION=1.16.0] [WORKFLOW_VERSION=1.16.0]`
45+
- Go: `make update_gosdk_version VERSION=v1.16.0`
46+
47+
### Validating all the quickstarts
48+
To run the samples, you need to have Dapr installed. Follow the [Getting Started](https://docs.dapr.io/getting-started/install-dapr-cli/) guide to install Dapr.
49+
50+
- Python: `make test_python_quickstarts`
51+
- Go: `make test_go_quickstarts`
52+
- Java: `make test_java_quickstarts`
53+
- JS: `make test_javascript_quickstarts`
54+
- C#: `make test_csharp_quickstarts`
55+
- All quickstarts: `make test_all_quickstarts`
56+
57+
### Validating a single quickstart
58+
Navigate to the quickstart directory and run `make validate`.
59+
60+
```sh
61+
cd conversation/python/sdk
62+
make validate
63+
```
64+
4165
## Code of Conduct
4266

4367
Please refer to our [Dapr Community Code of Conduct](https://github.com/dapr/community/blob/master/CODE-OF-CONDUCT.md)

makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ update_gosdk_version:
4444
fi; \
4545
done
4646
@echo "go-sdk update complete! Please verify changes and run tests before committing."
47-
47+
4848
# Target to update Python dependencies in all quickstarts
49-
# Usage: make update_python_deps [DAPR_VERSION=1.16.0] [FASTAPI_VERSION=1.16.0] [WORKFLOW_VERSION=1.16.0]
50-
update_python_deps:
49+
# Usage: make update_python_sdk_version [DAPR_VERSION=1.16.0] [FASTAPI_VERSION=1.16.0] [WORKFLOW_VERSION=1.16.0]
50+
update_python_sdk_version:
5151
@echo "Updating Python dependencies in all quickstarts..."
5252
@find . -path '*/python/*' -name "requirements.txt" | while read -r REQ_FILE; do \
5353
echo "Processing: $$REQ_FILE"; \
@@ -157,4 +157,4 @@ test_javascript_quickstarts:
157157
test_all_quickstarts: test_go_quickstarts test_python_quickstarts test_csharp_quickstarts test_java_quickstarts test_javascript_quickstarts
158158
@echo "All quickstart tests complete!"
159159

160-
.PHONY: all update_gosdk_version update_python_deps test_go_quickstarts test_python_quickstarts test_csharp_quickstarts test_java_quickstarts test_javascript_quickstarts test_all_quickstarts
160+
.PHONY: all update_gosdk_version update_python_sdk_version test_go_quickstarts test_python_quickstarts test_csharp_quickstarts test_java_quickstarts test_javascript_quickstarts test_all_quickstarts

0 commit comments

Comments
 (0)