Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/lint.yaml

This file was deleted.

66 changes: 33 additions & 33 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,39 @@ on:
workflow_dispatch: {}

jobs:
unit-tests:
uses: './.github/workflows/testing-unit.yaml'
secrets: inherit
integration-tests:
uses: './.github/workflows/testing-integration.yaml'
secrets: inherit
# unit-tests:
# uses: './.github/workflows/testing-unit.yaml'
# secrets: inherit
# integration-tests:
# uses: './.github/workflows/testing-integration.yaml'
# secrets: inherit
dependency-tests:
uses: './.github/workflows/testing-dependency.yaml'
secrets: inherit
package:
name: Check packaging
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry
uses: ./.github/actions/setup-poetry
- name: Package
run: poetry build
build-docs:
name: Build docs with pdoc
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build docs with pdoc
uses: './.github/actions/build-docs'
with:
python-version: 3.11
# package:
# name: Check packaging
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: [3.8, 3.12]
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# - name: Setup Poetry
# uses: ./.github/actions/setup-poetry
# - name: Package
# run: poetry build

# build-docs:
# name: Build docs with pdoc
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Build docs with pdoc
# uses: './.github/actions/build-docs'
# with:
# python-version: 3.11
121 changes: 5 additions & 116 deletions .github/workflows/testing-dependency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,38 +36,17 @@ jobs:
fail-fast: false
matrix:
python_version:
- 3.8
- 3.9
- "3.10"
- "3.11"
grpcio_version:
- 1.44.0
# - 1.46.5
# - 1.47.5
# - 1.48.2
# - 1.49.1
- 1.50.0
# - 1.51.3
# - 1.53.2
# - 1.54.3
# - 1.55.3
- 1.56.2
# - 1.57.0
# - 1.58.0
# - 1.59.3
- 1.60.0
- 1.70.0
lz4_version:
- 3.1.3
# - 3.1.10
- 4.0.0
# - 4.0.1
# - 4.1.0
- 4.3.3
- 4.4.3
protobuf_version:
- 4.25.3
- 5.29.3
protoc-gen-openapiv2:
- 0.0.1
googleapis_common_protos_version:
- 1.62.0
- 1.66.0
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test-dependency-grpc
Expand All @@ -81,102 +60,12 @@ jobs:
googleapis_common_protos_version: '${{ matrix.googleapis_common_protos_version }}'
DD_TAGS: 'test.configuration.python:${{ matrix.python_version}},test.configuration.grpcio:${{ matrix.grpcio_version }},test.configuration.lz4:${{ matrix.lz4_version }},test.configuration.protobuf:${{ matrix.protobuf_version }},test.configuration.googleapis_common_protos:${{ matrix.googleapis_common_protos_version }}'

dependency-matrix-grpc-312:
name: Deps (GRPC)
needs: dependency-matrix-setup
runs-on: ubuntu-latest
strategy:
max-parallel: 10
fail-fast: false
matrix:
python_version:
- 3.11
- 3.12
grpcio_version:
- 1.59.3
- 1.60.0
lz4_version:
- 3.1.3
- 4.3.3
protobuf_version:
- 4.25.3
protoc-gen-openapiv2:
- 0.0.1
googleapis_common_protos_version:
- 1.62.0
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test-dependency-grpc
with:
python_version: '${{ matrix.python_version }}'
index_name: '${{ needs.dependency-matrix-setup.outputs.index_name }}'
PINECONE_API_KEY: '${{ secrets.PINECONE_API_KEY }}'
grpcio_version: '${{ matrix.grpcio_version }}'
lz4_version: '${{ matrix.lz4_version }}'
protobuf_version: '${{ matrix.protobuf_version }}'
googleapis_common_protos_version: '${{ matrix.googleapis_common_protos_version }}'
DD_TAGS: 'test.configuration.python:${{ matrix.python_version}},test.configuration.grpcio:${{ matrix.grpcio_version }},test.configuration.lz4:${{ matrix.lz4_version }},test.configuration.protobuf:${{ matrix.protobuf_version }},test.configuration.googleapis_common_protos:${{ matrix.googleapis_common_protos_version }}'

dependency-matrix-rest:
name: Deps (REST)
runs-on: ubuntu-latest
needs: dependency-matrix-setup
strategy:
max-parallel: 10
fail-fast: false
matrix:
python_version:
- 3.8
- 3.11
urllib3_version:
- 1.26.0
- 1.26.18
- 2.0.2
- 2.2.1
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test-dependency-rest
with:
python_version: '${{ matrix.python_version }}'
index_name: '${{ needs.dependency-matrix-setup.outputs.index_name }}'
PINECONE_API_KEY: '${{ secrets.PINECONE_API_KEY }}'
urllib3_version: '${{ matrix.urllib3_version }}'
DD_TAGS: 'test.configuration.python:${{ matrix.python_version}},test.configuration.urllib3:${{ matrix.urllib3_version }}'

dependency-matrix-rest-312:
name: Deps (REST)
runs-on: ubuntu-latest
needs: dependency-matrix-setup
strategy:
max-parallel: 10
fail-fast: false
matrix:
python_version:
- 3.12
urllib3_version:
- 1.26.5
- 1.26.18
- 2.0.2
- 2.2.1
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test-dependency-rest
with:
python_version: '${{ matrix.python_version }}'
index_name: '${{ needs.dependency-matrix-setup.outputs.index_name }}'
PINECONE_API_KEY: '${{ secrets.PINECONE_API_KEY }}'
urllib3_version: '${{ matrix.urllib3_version }}'
DD_TAGS: 'test.configuration.python:${{ matrix.python_version}},test.configuration.urllib3:${{ matrix.urllib3_version }}'

deps-cleanup:
name: Deps cleanup
runs-on: ubuntu-latest
needs:
- dependency-matrix-setup
- dependency-matrix-grpc
- dependency-matrix-grpc-312
- dependency-matrix-rest
- dependency-matrix-rest-312
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/delete-index
Expand Down
88 changes: 4 additions & 84 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading