We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76ec464 commit 9979345Copy full SHA for 9979345
.github/workflows/ci.yml
@@ -51,3 +51,30 @@ jobs:
51
52
- name: Run tests
53
run: ./scripts/test
54
+
55
+ examples:
56
+ name: examples
57
+ runs-on: ubuntu-latest
58
59
+ steps:
60
+ - uses: actions/checkout@v4
61
62
+ - name: Install Rye
63
+ run: |
64
+ curl -sSf https://rye.astral.sh/get | bash
65
+ echo "$HOME/.rye/shims" >> $GITHUB_PATH
66
+ env:
67
+ RYE_VERSION: '0.35.0'
68
+ RYE_INSTALL_OPTION: '--yes'
69
+ - name: Install dependencies
70
71
+ rye sync --all-features
72
73
+ - env:
74
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
75
76
+ rye run python examples/demo.py
77
78
79
80
+ rye run python examples/async_demo.py
0 commit comments