We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50a9207 commit b6f0062Copy full SHA for b6f0062
.github/workflows/ci.yml
@@ -40,4 +40,28 @@ jobs:
40
run: |
41
rye run python -c 'import cloudflare'
42
43
-
+ examples:
44
+ name: examples
45
+ runs-on: ubuntu-latest
46
+
47
+ steps:
48
+ - uses: actions/checkout@v4
49
50
+ - name: Install Rye
51
+ run: |
52
+ curl -sSf https://rye-up.com/get | bash
53
+ echo "$HOME/.rye/shims" >> $GITHUB_PATH
54
+ env:
55
+ RYE_VERSION: 0.24.0
56
+ RYE_INSTALL_OPTION: "--yes"
57
+ - name: Install dependencies
58
59
+ rye sync --all-features
60
61
+ - env:
62
+ CLOUDFLARE_ACCOUNT_ID: f037e56e89293a057740de681ac9abbe
63
+ CLOUDFLARE_EMAIL: [email protected]
64
+ CLOUDFLARE_ZONE_ID: 0da42c8d2132a9ddaf714f9e7c92011
65
+ CLOUDFLARE_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }}
66
67
+ rye run python ./examples/workers/ai/demo.py
0 commit comments