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 6296907 commit 346561fCopy full SHA for 346561f
.github/workflows/ci.yml
@@ -52,3 +52,30 @@ jobs:
52
53
- name: Run tests
54
run: ./scripts/test
55
+
56
+ examples:
57
+ name: examples
58
+ runs-on: ubuntu-latest
59
60
+ steps:
61
+ - uses: actions/checkout@v4
62
63
+ - name: Install Rye
64
+ run: |
65
+ curl -sSf https://rye.astral.sh/get | bash
66
+ echo "$HOME/.rye/shims" >> $GITHUB_PATH
67
+ env:
68
+ RYE_VERSION: '0.35.0'
69
+ RYE_INSTALL_OPTION: '--yes'
70
+ - name: Install dependencies
71
72
+ rye sync --all-features
73
74
+ - env:
75
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
76
77
+ rye run python examples/demo.py
78
79
80
81
+ rye run python examples/async_demo.py
0 commit comments