Skip to content

Commit b651306

Browse files
committed
Add pytest-split dep
1 parent 45880db commit b651306

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

.github/workflows/testing-integration.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
python_version: ${{ fromJson(inputs.python_versions_json) }}
22-
split_group_to_run: [1, 2, 3, 4, 5]
22+
split_group_to_run: [1, 2]
2323
steps:
2424
- uses: actions/checkout@v4
2525
- name: Setup Poetry
@@ -33,7 +33,8 @@ jobs:
3333
encrypted_project_api_key: '${{ inputs.encrypted_project_api_key }}'
3434
encryption_key: '${{ secrets.FERNET_ENCRYPTION_KEY }}'
3535
test_suite: 'tests/integration/rest_sync'
36-
total_num_split_groups: 5
36+
total_num_split_groups: 20
37+
durations_file: '.durations_rest_sync'
3738
split_group_to_run: ${{ matrix.split_group_to_run }}
3839
PINECONE_CLIENT_ID: ${{ secrets.PINECONE_SERVICE_ACCOUNT_CLIENT_ID }}
3940
PINECONE_CLIENT_SECRET: ${{ secrets.PINECONE_SERVICE_ACCOUNT_CLIENT_SECRET }}

poetry.lock

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ pytest-timeout = "2.2.0"
9494
pytest-benchmark = [
9595
{ version = '5.0.0', python = ">=3.9,<4.0" }
9696
]
97+
pytest-split = "^0.10.0"
9798
urllib3_mock = "0.3.3"
9899
responses = ">=0.8.1"
99100
ruff = "^0.9.3"
@@ -111,6 +112,7 @@ myst-parser = [
111112
]
112113

113114

115+
114116
[tool.poetry.extras]
115117
grpc = ["grpcio", "googleapis-common-protos", "lz4", "protobuf", "protoc-gen-openapiv2"]
116118
asyncio = ["aiohttp", "aiohttp-retry"]

0 commit comments

Comments
 (0)