@@ -38,65 +38,56 @@ jobs:
38
38
name : dist
39
39
path : dist/
40
40
41
- test-pypi-publish :
42
- needs : build
43
- runs-on : ubuntu-latest
41
+ # test-pypi-publish:
42
+ # needs: build
43
+ # runs-on: ubuntu-latest
44
44
45
- steps :
46
- - uses : actions/checkout@v4
45
+ # steps:
46
+ # - uses: actions/checkout@v4
47
47
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 }}
52
52
53
- - name : Install Poetry
54
- uses : snok/install-poetry@v1
53
+ # - name: Install Poetry
54
+ # uses: snok/install-poetry@v1
55
55
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/
60
60
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
65
65
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
69
69
70
- steps :
71
- - uses : actions/checkout@v4
70
+ # steps:
71
+ # - uses: actions/checkout@v4
72
72
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 }}
77
77
78
- - name : Install Poetry
79
- uses : snok/install-poetry@v1
78
+ # - name: Install Poetry
79
+ # uses: snok/install-poetry@v1
80
80
81
- - name : Install dependencies
82
- run : |
83
- poetry install --all-extras
81
+ # - name: Install dependencies
82
+ # run: |
83
+ # poetry install --all-extras
84
84
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
97
88
98
89
publish :
99
- needs : pre-release-checks
90
+ needs : build # pre-release-checks
100
91
runs-on : ubuntu-latest
101
92
102
93
steps :
0 commit comments