Skip to content

Commit f525c9b

Browse files
ci: Add periodic AI integration tests (#5313)
1 parent ff2058e commit f525c9b

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
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+
ai-integration-tests:
11+
name: AI integration tests
12+
runs-on: ubuntu-latest
13+
environment: "AI Integrations Tests"
14+
timeout-minutes: 10
15+
16+
permissions:
17+
contents: write
18+
issues: 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@1c6853a3a46ff1217248bf2b61e3ca5c4fcafdca
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_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)