Skip to content

Commit 79b0272

Browse files
Merge branch 'master' into constantinius/fix/integrations/google-genai-report-image-inputs
2 parents d28e0b8 + 749d8e5 commit 79b0272

37 files changed

+2170
-127
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 }}

.github/workflows/changelog-preview.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Changelog Preview
22
on:
3-
pull_request:
3+
pull_request_target:
44
types:
55
- opened
66
- synchronize
77
- reopened
88
- edited
99
- labeled
10+
- unlabeled
1011
permissions:
1112
contents: write
1213
pull-requests: write

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
token: ${{ steps.token.outputs.token }}
3232
fetch-depth: 0
3333
- name: Prepare release
34-
uses: getsentry/craft@1c58bfd57bfd6a967b6f3fc92bead2c42ee698ce # v2
34+
uses: getsentry/craft@c6e2f04939b6ee67030588afbb5af76b127d8203 # v2
3535
env:
3636
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
3737
with:

.github/workflows/test-integrations-agents.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Use Docker container only for Python 3.6
3939
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4040
steps:
41-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
41+
- uses: actions/checkout@v6.0.1
4242
- uses: actions/setup-python@v6
4343
if: ${{ matrix.python-version != '3.6' }}
4444
with:

.github/workflows/test-integrations-ai-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Use Docker container only for Python 3.6
3939
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4040
steps:
41-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
41+
- uses: actions/checkout@v6.0.1
4242
- uses: actions/setup-python@v6
4343
if: ${{ matrix.python-version != '3.6' }}
4444
with:

.github/workflows/test-integrations-ai.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Use Docker container only for Python 3.6
3939
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4040
steps:
41-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
41+
- uses: actions/checkout@v6.0.1
4242
- uses: actions/setup-python@v6
4343
if: ${{ matrix.python-version != '3.6' }}
4444
with:

.github/workflows/test-integrations-cloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
# Use Docker container only for Python 3.6
4343
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4444
steps:
45-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
45+
- uses: actions/checkout@v6.0.1
4646
- uses: actions/setup-python@v6
4747
if: ${{ matrix.python-version != '3.6' }}
4848
with:

.github/workflows/test-integrations-common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Use Docker container only for Python 3.6
3939
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4040
steps:
41-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
41+
- uses: actions/checkout@v6.0.1
4242
- uses: actions/setup-python@v6
4343
if: ${{ matrix.python-version != '3.6' }}
4444
with:

.github/workflows/test-integrations-dbs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
# Use Docker container only for Python 3.6
5757
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
5858
steps:
59-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
59+
- uses: actions/checkout@v6.0.1
6060
- uses: actions/setup-python@v6
6161
if: ${{ matrix.python-version != '3.6' }}
6262
with:

.github/workflows/test-integrations-flags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Use Docker container only for Python 3.6
3939
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4040
steps:
41-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
41+
- uses: actions/checkout@v6.0.1
4242
- uses: actions/setup-python@v6
4343
if: ${{ matrix.python-version != '3.6' }}
4444
with:

0 commit comments

Comments
 (0)