Skip to content

Commit 409fd88

Browse files
committed
Fix CI
1 parent 659d68b commit 409fd88

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

.github/workflows/test-integrations-data-processing.yml

+4
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ jobs:
5858
run: |
5959
set -x # print commands that are executed
6060
./scripts/runtox.sh "py${{ matrix.python-version }}-huey-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
61+
- name: Test openai latest
62+
run: |
63+
set -x # print commands that are executed
64+
./scripts/runtox.sh "py${{ matrix.python-version }}-openai-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
6165
- name: Test rq latest
6266
run: |
6367
set -x # print commands that are executed

mypy.ini

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ ignore_missing_imports = True
6767
ignore_missing_imports = True
6868
[mypy-huey.*]
6969
ignore_missing_imports = True
70+
[mypy-openai.*]
71+
ignore_missing_imports = True
7072
[mypy-arq.*]
7173
ignore_missing_imports = True
7274
[mypy-grpc.*]

scripts/split-tox-gh-actions/split-tox-gh-actions.py

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"beam",
7171
"celery",
7272
"huey",
73+
"openai",
7374
"rq",
7475
],
7576
"Databases": [

tests/integrations/openai/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import pytest
2+
3+
pytest.importorskip("openai")

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ envlist =
147147
{py3.5,py3.11,py3.12}-loguru-latest
148148

149149
# OpenAI
150-
{py3.7,py3.9,py3.11,py3.12}-openai
150+
{py3.5,py3.7,py3.9,py3.11,py3.12}-openai-latest
151151

152152
# OpenTelemetry (OTel)
153153
{py3.7,py3.9,py3.11,py3.12}-opentelemetry

0 commit comments

Comments
 (0)