Skip to content

Commit 976c276

Browse files
committed
fix rules for when the job is ran
1 parent e88f750 commit 976c276

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@ name: Build Wheels for Python SDK
33
on:
44
push:
55
branches:
6-
- main
76
# Release branches
87
- "sdk-core/*"
9-
pull_request:
10-
branches:
11-
- main
12-
- "sdk-core/*"
138
# Allow manual triggering of the workflow
149
workflow_dispatch:
1510

@@ -36,7 +31,7 @@ jobs:
3631
CIBW_MANYLINUX_X86_64_IMAGE: "quay.io/pypa/manylinux_2_34_x86_64"
3732
CIBW_MANYLINUX_AARCH64_IMAGE: "quay.io/pypa/manylinux_2_34_aarch64"
3833
CIBW_ARCHS: "native"
39-
CIBW_BEFORE_TEST: "pip install pydantic cryptography pytest pytest-asyncio"
34+
CIBW_TEST_REQUIRES: "pydantic pytest pytest-asyncio"
4035
CIBW_TEST_COMMAND: "python -m pytest {project}/src/onepassword/test_client.py"
4136
MACOSX_DEPLOYMENT_TARGET: 11.0 # Required for building on macOS
4237
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.TEST_SERVICE_ACCOUNT_TOKEN }}

0 commit comments

Comments
 (0)