-
Notifications
You must be signed in to change notification settings - Fork 584
45 lines (38 loc) · 1.16 KB
/
ai-integration-test.yml
File metadata and controls
45 lines (38 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: AI integration tests
on:
workflow_dispatch:
schedule:
# every weekday
- cron: '23 3 * * 1-5'
jobs:
ai-integration-tests:
name: AI integration tests
runs-on: ubuntu-latest
environment: "AI Integrations Tests"
timeout-minutes: 10
permissions:
contents: write
issues: write
steps:
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: 3.14t
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Checkout repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Python SDK Tests
uses: getsentry/testing-ai-sdk-integrations@121da677853244cedfe11e95184b2b431af102eb
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
platform: python
sentry-python-path: ${{ github.workspace }}
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
google-api-key: ${{ secrets.GOOGLE_API_KEY }}