Skip to content

Commit 8186c4a

Browse files
ci: Add periodic AI integration tests
1 parent 121c9d2 commit 8186c4a

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: AI integration tests
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# every weekday
7+
- cron: '23 3 * * 1-5'
8+
9+
jobs:
10+
update-tox:
11+
name: AI integration tests
12+
runs-on: ubuntu-latest
13+
environment: testing
14+
timeout-minutes: 10
15+
16+
permissions:
17+
contents: write
18+
pull-requests: write
19+
20+
steps:
21+
- name: Setup Python
22+
uses: actions/setup-python@v6
23+
with:
24+
python-version: 3.14t
25+
26+
- name: Setup Node.js
27+
uses: actions/setup-node@v6
28+
with:
29+
node-version: '20'
30+
31+
- name: Checkout repo
32+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
33+
with:
34+
token: ${{ secrets.GITHUB_TOKEN }}
35+
36+
- name: Run Python SDK Tests
37+
uses: getsentry/testing-ai-sdk-integrations@aeb8231cdbac3e0d180732e00997883d58098679
38+
env:
39+
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
40+
with:
41+
language: py
42+
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
43+
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
44+
google-api-key: ${{ secrets.GOOGLE_API_KEY }}

0 commit comments

Comments
 (0)