Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-sentry committed Mar 6, 2024
1 parent 659d68b commit 409fd88
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/test-integrations-data-processing.yml
Expand Up @@ -58,6 +58,10 @@ jobs:
run: |
set -x # print commands that are executed
./scripts/runtox.sh "py${{ matrix.python-version }}-huey-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
- name: Test openai latest
run: |
set -x # print commands that are executed
./scripts/runtox.sh "py${{ matrix.python-version }}-openai-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
- name: Test rq latest
run: |
set -x # print commands that are executed
Expand Down
2 changes: 2 additions & 0 deletions mypy.ini
Expand Up @@ -67,6 +67,8 @@ ignore_missing_imports = True
ignore_missing_imports = True
[mypy-huey.*]
ignore_missing_imports = True
[mypy-openai.*]
ignore_missing_imports = True
[mypy-arq.*]
ignore_missing_imports = True
[mypy-grpc.*]
Expand Down
1 change: 1 addition & 0 deletions scripts/split-tox-gh-actions/split-tox-gh-actions.py
Expand Up @@ -70,6 +70,7 @@
"beam",
"celery",
"huey",
"openai",
"rq",
],
"Databases": [
Expand Down
3 changes: 3 additions & 0 deletions tests/integrations/openai/__init__.py
@@ -0,0 +1,3 @@
import pytest

pytest.importorskip("openai")
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -147,7 +147,7 @@ envlist =
{py3.5,py3.11,py3.12}-loguru-latest

# OpenAI
{py3.7,py3.9,py3.11,py3.12}-openai
{py3.5,py3.7,py3.9,py3.11,py3.12}-openai-latest

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

0 comments on commit 409fd88

Please sign in to comment.