Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ jobs:
run: echo "SDK_VERSION=$(python -c 'import version; print(version.SDK_VERSION)')" >> $GITHUB_ENV

- name: Install dependencies
run: pip install build pydantic pytest pytest-asyncio
run: pip3 install build pydantic pytest pytest-asyncio

- name: Build source distribution
run: python -m build --sdist
run: python3 -m build --sdist

- name: Test Source Distribution
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.TEST_SERVICE_ACCOUNT_TOKEN }}
run: |
python -m pip install dist/*.tar.gz
python -m pytest src/onepassword/test_client.py
python3 -m pip install dist/*.tar.gz
python3 -m pytest src/onepassword/test_client.py

- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -100,5 +100,5 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPY_TOKEN }}
run: |
python -m pip install twine pkginfo
python3 -m pip3 install twine pkginfo
twine upload --repository testpypi dist/*
Loading