File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,22 @@ jobs:
4545 build-sdist :
4646 name : Build source distribution for Python SDK
4747 runs-on : ubuntu-latest
48- needs : build_wheels
4948 steps :
5049 # Need to grab the SDK version for the wheel name
5150 - name : Extract SDK Version
5251 run : echo "SDK_VERSION=$(python -c 'import version; print(version.SDK_VERSION)')" >> $GITHUB_ENV
5352
5453 - uses : actions/checkout@v4
54+
5555 - name : Build source distribution
5656 run : python -m build --sdist
57+
58+ - name : Test Source Distribution
59+ env :
60+ OP_SERVICE_ACCOUNT_TOKEN : ${{ secrets.TEST_SERVICE_ACCOUNT_TOKEN }}
61+ run : |
62+ python -m pip install dist/*.tar.gz
63+ python -m pytest src/onepassword/test_client.py
5764
5865 - uses : actions/upload-artifact@v4
5966 with :
You can’t perform that action at this time.
0 commit comments