@@ -38,65 +38,56 @@ jobs:
3838 name : dist
3939 path : dist/
4040
41- test-pypi-publish :
42- needs : build
43- runs-on : ubuntu-latest
41+ # test-pypi-publish:
42+ # needs: build
43+ # runs-on: ubuntu-latest
4444
45- steps :
46- - uses : actions/checkout@v4
45+ # steps:
46+ # - uses: actions/checkout@v4
4747
48- - name : Set up Python
49- uses : actions/setup-python@v4
50- with :
51- python-version : ${{ env.PYTHON_VERSION }}
48+ # - name: Set up Python
49+ # uses: actions/setup-python@v4
50+ # with:
51+ # python-version: ${{ env.PYTHON_VERSION }}
5252
53- - name : Install Poetry
54- uses : snok/install-poetry@v1
53+ # - name: Install Poetry
54+ # uses: snok/install-poetry@v1
5555
56- - uses : actions/download-artifact@v4
57- with :
58- name : dist
59- path : dist/
56+ # - uses: actions/download-artifact@v4
57+ # with:
58+ # name: dist
59+ # path: dist/
6060
61- - name : Publish to TestPyPI
62- env :
63- POETRY_PYPI_TOKEN_TESTPYPI : ${{ secrets.TESTPYPI }}
64- run : poetry config repositories.test-pypi https://test.pypi.org/legacy/; poetry config pypi-token.test-pypi $POETRY_PYPI_TOKEN_TESTPYPI; poetry publish --repository test-pypi
61+ # - name: Publish to TestPyPI
62+ # env:
63+ # POETRY_PYPI_TOKEN_TESTPYPI: ${{ secrets.TESTPYPI }}
64+ # run: poetry config repositories.test-pypi https://test.pypi.org/legacy/; poetry config pypi-token.test-pypi $POETRY_PYPI_TOKEN_TESTPYPI; poetry publish --repository test-pypi
6565
66- pre-release-checks :
67- needs : test-pypi-publish
68- runs-on : ubuntu-latest
66+ # pre-release-checks:
67+ # needs: test-pypi-publish
68+ # runs-on: ubuntu-latest
6969
70- steps :
71- - uses : actions/checkout@v4
70+ # steps:
71+ # - uses: actions/checkout@v4
7272
73- - name : Set up Python
74- uses : actions/setup-python@v4
75- with :
76- python-version : ${{ env.PYTHON_VERSION }}
73+ # - name: Set up Python
74+ # uses: actions/setup-python@v4
75+ # with:
76+ # python-version: ${{ env.PYTHON_VERSION }}
7777
78- - name : Install Poetry
79- uses : snok/install-poetry@v1
78+ # - name: Install Poetry
79+ # uses: snok/install-poetry@v1
8080
81- - name : Install dependencies
82- run : |
83- poetry install --all-extras
81+ # - name: Install dependencies
82+ # run: |
83+ # poetry install --all-extras
8484
85- - name : Install published package from TestPyPI
86- env :
87- OPENAI_API_KEY : ${{ secrets.OPENAI_KEY }}
88- GCP_LOCATION : ${{ secrets.GCP_LOCATION }}
89- GCP_PROJECT_ID : ${{ secrets.GCP_PROJECT_ID }}
90- COHERE_API_KEY : ${{ secrets.COHERE_API_KEY }}
91- AZURE_OPENAI_API_KEY : ${{secrets.AZURE_OPENAI_API_KEY}}
92- AZURE_OPENAI_ENDPOINT : ${{secrets.AZURE_OPENAI_ENDPOINT}}
93- AZURE_OPENAI_DEPLOYMENT_NAME : ${{secrets.AZURE_OPENAI_DEPLOYMENT_NAME}}
94- OPENAI_API_VERSION : ${{secrets.OPENAI_API_VERSION}}
95- run :
96- poetry run pip install --index-url https://test.pypi.org/simple/ --no-deps redisvl; poetry run test-cov
85+ # - name: Install published package from TestPyPI
86+ # run:
87+ # poetry run pip install --index-url https://test.pypi.org/simple/ --no-deps redisvl; SKIP_VECTORIZERS=True SKIP_RERANKERS=True poetry run test-cov
9788
9889 publish :
99- needs : pre-release-checks
90+ needs : build # pre-release-checks
10091 runs-on : ubuntu-latest
10192
10293 steps :
0 commit comments