Skip to content

Commit 6f659f6

Browse files
committed
checkout only the example folder
1 parent cd8b06f commit 6f659f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525

2626
steps:
2727
- uses: actions/checkout@v4
28+
with:
29+
sparse-checkout: |
30+
example/*
31+
sparse-checkout-cone-mode: true
2832

2933
# Need to grab the SDK version for the wheel name
3034
- name: Extract SDK Version
@@ -42,7 +46,7 @@ jobs:
4246
CIBW_MANYLINUX_AARCH64_IMAGE: "quay.io/pypa/manylinux_2_34_aarch64"
4347
CIBW_ARCHS: "native"
4448
CIBW_BEFORE_TEST: "pip install pydantic"
45-
CIBW_TEST_COMMAND: "python3 onepassword-sdk-python/example/example.py"
49+
CIBW_TEST_COMMAND: "python3 example/example.py"
4650
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.TEST_SERVICE_ACCOUNT_TOKEN }}
4751

4852
uses: pypa/[email protected]

0 commit comments

Comments
 (0)