Skip to content

Commit 2c41899

Browse files
committed
Updated test matrix
1 parent 3678caf commit 2c41899

File tree

2 files changed

+36
-20
lines changed

2 files changed

+36
-20
lines changed

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

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,31 +45,39 @@ jobs:
4545
- name: Test anthropic latest
4646
run: |
4747
set -x # print commands that are executed
48-
./scripts/runtox.sh "py${{ matrix.python-version }}-anthropic-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
48+
./scripts/runtox.sh "py${{ matrix.python-version }}-anthropic-latest"
4949
- name: Test cohere latest
5050
run: |
5151
set -x # print commands that are executed
52-
./scripts/runtox.sh "py${{ matrix.python-version }}-cohere-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
52+
./scripts/runtox.sh "py${{ matrix.python-version }}-cohere-latest"
5353
- name: Test langchain latest
5454
run: |
5555
set -x # print commands that are executed
56-
./scripts/runtox.sh "py${{ matrix.python-version }}-langchain-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
56+
./scripts/runtox.sh "py${{ matrix.python-version }}-langchain-latest"
5757
- name: Test openai latest
5858
run: |
5959
set -x # print commands that are executed
60-
./scripts/runtox.sh "py${{ matrix.python-version }}-openai-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
60+
./scripts/runtox.sh "py${{ matrix.python-version }}-openai-latest"
6161
- name: Test huggingface_hub latest
6262
run: |
6363
set -x # print commands that are executed
64-
./scripts/runtox.sh "py${{ matrix.python-version }}-huggingface_hub-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
64+
./scripts/runtox.sh "py${{ matrix.python-version }}-huggingface_hub-latest"
6565
- name: Generate coverage XML
66+
if: ${{ !cancelled() }}
6667
run: |
6768
coverage combine .coverage*
6869
coverage xml -i
69-
- uses: codecov/codecov-action@v4
70+
- name: Upload coverage to Codecov
71+
if: ${{ !cancelled() }}
72+
uses: codecov/codecov-action@v4.5.0
7073
with:
7174
token: ${{ secrets.CODECOV_TOKEN }}
7275
files: coverage.xml
76+
- name: Upload test results to Codecov
77+
if: ${{ !cancelled() }}
78+
uses: codecov/test-results-action@v1
79+
with:
80+
token: ${{ secrets.CODECOV_TOKEN }}
7381
test-ai-pinned:
7482
name: AI (pinned)
7583
timeout-minutes: 30
@@ -97,31 +105,39 @@ jobs:
97105
- name: Test anthropic pinned
98106
run: |
99107
set -x # print commands that are executed
100-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-anthropic" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
108+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-anthropic"
101109
- name: Test cohere pinned
102110
run: |
103111
set -x # print commands that are executed
104-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-cohere" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
112+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-cohere"
105113
- name: Test langchain pinned
106114
run: |
107115
set -x # print commands that are executed
108-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-langchain" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
116+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-langchain"
109117
- name: Test openai pinned
110118
run: |
111119
set -x # print commands that are executed
112-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-openai" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
120+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-openai"
113121
- name: Test huggingface_hub pinned
114122
run: |
115123
set -x # print commands that are executed
116-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-huggingface_hub" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
124+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-huggingface_hub"
117125
- name: Generate coverage XML
126+
if: ${{ !cancelled() }}
118127
run: |
119128
coverage combine .coverage*
120129
coverage xml -i
121-
- uses: codecov/codecov-action@v4
130+
- name: Upload coverage to Codecov
131+
if: ${{ !cancelled() }}
132+
uses: codecov/codecov-action@v4.5.0
122133
with:
123134
token: ${{ secrets.CODECOV_TOKEN }}
124135
files: coverage.xml
136+
- name: Upload test results to Codecov
137+
if: ${{ !cancelled() }}
138+
uses: codecov/test-results-action@v1
139+
with:
140+
token: ${{ secrets.CODECOV_TOKEN }}
125141
check_required_tests:
126142
name: All AI tests passed
127143
needs: test-ai-pinned

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,19 @@ jobs:
5555
- name: Test celery latest
5656
run: |
5757
set -x # print commands that are executed
58-
./scripts/runtox.sh "py${{ matrix.python-version }}-celery-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
58+
./scripts/runtox.sh "py${{ matrix.python-version }}-celery-latest"
5959
- name: Test huey latest
6060
run: |
6161
set -x # print commands that are executed
62-
./scripts/runtox.sh "py${{ matrix.python-version }}-huey-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
62+
./scripts/runtox.sh "py${{ matrix.python-version }}-huey-latest"
6363
- name: Test rq latest
6464
run: |
6565
set -x # print commands that are executed
66-
./scripts/runtox.sh "py${{ matrix.python-version }}-rq-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
66+
./scripts/runtox.sh "py${{ matrix.python-version }}-rq-latest"
6767
- name: Test spark latest
6868
run: |
6969
set -x # print commands that are executed
70-
./scripts/runtox.sh "py${{ matrix.python-version }}-spark-latest" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
70+
./scripts/runtox.sh "py${{ matrix.python-version }}-spark-latest"
7171
- name: Generate coverage XML
7272
if: ${{ !cancelled() }}
7373
run: |
@@ -121,19 +121,19 @@ jobs:
121121
- name: Test celery pinned
122122
run: |
123123
set -x # print commands that are executed
124-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-celery" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
124+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-celery"
125125
- name: Test huey pinned
126126
run: |
127127
set -x # print commands that are executed
128-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-huey" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
128+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-huey"
129129
- name: Test rq pinned
130130
run: |
131131
set -x # print commands that are executed
132-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-rq" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
132+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-rq"
133133
- name: Test spark pinned
134134
run: |
135135
set -x # print commands that are executed
136-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-spark" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
136+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-spark"
137137
- name: Generate coverage XML
138138
if: ${{ !cancelled() }}
139139
run: |

0 commit comments

Comments
 (0)