@@ -114,65 +114,6 @@ jobs:
114
114
name : coverage-report-integration-embedded
115
115
path : coverage-integration-embedded.xml
116
116
117
- integration-tests-v3 :
118
- name : Run Integration Tests v3
119
- runs-on : ubuntu-latest
120
- strategy :
121
- fail-fast : false
122
- matrix :
123
- versions : [
124
- { py: "3.9", weaviate: $WEAVIATE_126},
125
- { py: "3.10", weaviate: $WEAVIATE_126},
126
- { py: "3.11", weaviate: $WEAVIATE_123},
127
- { py: "3.11", weaviate: $WEAVIATE_124},
128
- { py: "3.11", weaviate: $WEAVIATE_125},
129
- { py: "3.11", weaviate: $WEAVIATE_126},
130
- { py: "3.12", weaviate: $WEAVIATE_127}
131
- ]
132
- optional_dependencies : [false]
133
- steps :
134
- - uses : actions/checkout@v4
135
- with :
136
- fetch-depth : 0
137
- fetch-tags : true
138
- - uses : actions/setup-python@v5
139
- with :
140
- python-version : ${{ matrix.versions.py }}
141
- cache : ' pip' # caching pip dependencies
142
- - name : Login to Docker Hub
143
- uses : docker/login-action@v3
144
- if : ${{ !github.event.pull_request.head.repo.fork && github.triggering_actor != 'dependabot[bot]' }}
145
- with :
146
- username : ${{secrets.DOCKER_USERNAME}}
147
- password : ${{secrets.DOCKER_PASSWORD}}
148
- - run : |
149
- pip install -r requirements-devel.txt
150
- pip install .
151
- - name : free space
152
- run : sudo rm -rf /usr/local/lib/android
153
- - name : start weaviate
154
- run : /bin/bash ci/start_weaviate.sh ${{ matrix.versions.weaviate }}
155
- - name : Run integration tests with auth secrets
156
- if : ${{ !github.event.pull_request.head.repo.fork }}
157
- env :
158
- AZURE_CLIENT_SECRET : ${{ secrets.AZURE_CLIENT_SECRET }}
159
- OKTA_CLIENT_SECRET : ${{ secrets.OKTA_CLIENT_SECRET }}
160
- WCS_DUMMY_CI_PW : ${{ secrets.WCS_DUMMY_CI_PW }}
161
- OKTA_DUMMY_CI_PW : ${{ secrets.OKTA_DUMMY_CI_PW }}
162
- # OPENAI_APIKEY: ${{ secrets.OPENAI_APIKEY }} disabled until we have a working key
163
- run : pytest -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration-v3.xml integration_v3
164
- - name : Run integration tests without auth secrets (for forks)
165
- if : ${{ github.event.pull_request.head.repo.fork }}
166
- run : pytest -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration-v3.xml integration_v3
167
- - name : Archive code coverage results
168
- if : matrix.versions.py == '3.10' && (github.ref_name != 'main')
169
- uses : actions/upload-artifact@v4
170
- with :
171
- name : coverage-report-integration-v3
172
- path : coverage-integration-v3.xml
173
- - name : stop weaviate
174
- run : /bin/bash ci/stop_weaviate.sh ${{ matrix.versions.weaviate }}
175
-
176
117
integration-tests :
177
118
name : Run Integration Tests
178
119
runs-on : ubuntu-latest
@@ -219,7 +160,7 @@ jobs:
219
160
WCS_DUMMY_CI_PW : ${{ secrets.WCS_DUMMY_CI_PW }}
220
161
OKTA_DUMMY_CI_PW : ${{ secrets.OKTA_DUMMY_CI_PW }}
221
162
# OPENAI_APIKEY: ${{ secrets.OPENAI_APIKEY }} disabled until we have a working key
222
- run : pytest -n auto -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration.xml integration
163
+ run : pytest -n auto --dist loadgroup - v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration.xml integration
223
164
- name : Run integration tests without auth secrets (for forks)
224
165
if : ${{ github.event.pull_request.head.repo.fork }}
225
166
run : pytest -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration.xml integration
@@ -269,7 +210,7 @@ jobs:
269
210
run : /bin/bash ci/stop_weaviate.sh ${{ matrix.versions.weaviate }}
270
211
271
212
Codecov :
272
- needs : [Unit-Tests, Integration-Tests, Integration-Tests-v3 ]
213
+ needs : [Unit-Tests, Integration-Tests]
273
214
runs-on : ubuntu-latest
274
215
if : github.ref_name != 'main'
275
216
steps :
0 commit comments